Commit Graph

22452 Commits

Author SHA1 Message Date
Andrey A. Chernov
c3d7c52e04 death: revoke all lines listed in /etc/ttys instead of sending HUP
to all processes
1997-07-04 22:09:07 +00:00
Masafumi Max NAKANE
8c1d6cc7a3 Add Xref to nologin(5). 1997-07-04 06:31:52 +00:00
Jordan K. Hubbard
643e8222c7 Add proper md5 comments to ports-installed packages also by
masticating it through the same routine used by pkg_create.
Submitted by:	se
1997-07-04 04:48:02 +00:00
Jordan K. Hubbard
7a55519931 YAMF22 1997-07-04 04:46:29 +00:00
John Polstra
676efd96cb Add "nfsv2" to the default mount options. It can be removed when V3
stops causing unkillable hung processes.
1997-07-04 03:29:57 +00:00
John Polstra
b7c2b28e0b Die and stay dead. Ya got it?! 1997-07-04 01:30:09 +00:00
Andrey A. Chernov
423b6a39ff Include <libutil.h> instead of private declarations 1997-07-03 11:37:43 +00:00
Philippe Charnier
63ffb11347 Add rcsid, prototypes. Use err(3). 1997-07-03 07:19:46 +00:00
Bruce Evans
27dceaf5ea Kill histedit.h again. Importing Lite2 brought it back for some reason
(although it hasn't changed).
1997-07-03 04:15:01 +00:00
Bruce Evans
362c392f0b This commit was generated by cvs2svn to compensate for changes in r27180,
which included commits to RCS files with non-trunk default branches.
1997-07-03 03:28:27 +00:00
Bruce Evans
5500fdcd4f Import Lite2's src/lib, except for non-i386 machine-dependent directories,
libc/db, libc/gen/crypt.* and libtelnet.  All affected files except 3
unimportant ones have already left the vendor branch.
1997-07-03 03:28:27 +00:00
Poul-Henning Kamp
25f5c3ba98 Have another go at the malloc-sysv initialization.
PR:		4002
Pointed out by:	bde
1997-07-02 19:33:23 +00:00
Poul-Henning Kamp
177c95e45a Reset all LQR variables when we start over. 1997-07-02 19:18:42 +00:00
Wolfram Schneider
b9d597327a Sync with original source:
Add Steven M. Schultz for providing 2.11 BSD manual pages.
	Add OpenBSD 2.1, FreeBSD 2.2.2, BSDI 2.0.1 releases.
1997-07-02 14:06:45 +00:00
Andrey A. Chernov
a2ee73bcc6 Remove unneded cast in login_getclassbyname which cause warning 1997-07-02 13:53:31 +00:00
KATO Takenori
4c290c2ae1 Synchronize with sys/i386/boot/kzipboot/boot.c revision 1.7. 1997-07-02 11:02:32 +00:00
KATO Takenori
8be046791d Synchronize with sys/i386/isa/wd.c revision 1.131. 1997-07-02 11:01:37 +00:00
KATO Takenori
d9b8e3127c Synchronize with sys/i386/conf/options.i386 revision 1.49. 1997-07-02 11:00:56 +00:00
KATO Takenori
2a32753bfb Synchronize with sys/i386/isa/syscons.c revision 1.220. 1997-07-02 11:00:20 +00:00
Jordan K. Hubbard
48084fdd6a Split section 6 catpages/manpages out into games dist. 1997-07-02 08:59:00 +00:00
Philippe Charnier
b14d8277cc Add rcsid, usage(). Silent -Wall. Use warn(3). 1997-07-02 06:34:51 +00:00
Philippe Charnier
370ad8d767 Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
Philippe Charnier
b28977d169 One newline should be enough. 1997-07-02 06:28:32 +00:00
Bruce Evans
25e43cba72 Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.
1997-07-02 00:25:26 +00:00
Bruce Evans
c377df7798 This commit was generated by cvs2svn to compensate for changes in r27163,
which included commits to RCS files with non-trunk default branches.
1997-07-02 00:25:26 +00:00
Bruce Evans
7ff7df18ef Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.
1997-07-02 00:25:26 +00:00
Bruce Evans
c46940197c Import Lite2's src/bin. All files in src/bin are off the vendor branch,
so this doesn't change the active versions.
1997-07-01 22:34:08 +00:00
Bruce Evans
0e63ce04b1 Bury this properly. 1997-07-01 21:38:49 +00:00
Bruce Evans
d9d6b4846b Import this unwanted file from Lite-original so that it doesn't
get imported with Lite2 (there was only one missing file in src/bin,
other than tags files and obj links).
1997-07-01 21:34:30 +00:00
Brian Somers
873725cc51 Make HUP cause an exit (as it used to), and make
INT cause a hangup - not exiting for -ddial & -auto.

HUP must exit because init sends this at system shutdown
time (why, I don't know), and we don't want to end up
redialing after the HUP (due to another dfilter packet).

Pointed out by and discussed with: ache
1997-07-01 21:31:28 +00:00
Peter Wemm
da6360324e Initial revision 1997-07-01 20:44:10 +00:00
Wolfram Schneider
b7f6400eb5 Add forgotten newline.
Submitted by: Solaris gencat
1997-07-01 19:46:22 +00:00
Poul-Henning Kamp
db7f90903d malloc_sysv used before initialized, reported in PR4002 by
Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>

Various cleanup from Keith Bostic

Reinstate calloc() as a separate funtion, in its own source/object file.
leave the manpage integrated with malloc.3 and friends.  Too many things
were broken in this respect.

PR:		4002
Reviewed by:	phk
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Submitted by:	Keith Bostic <bostic@bostic.com>
1997-07-01 18:39:38 +00:00
Jordan K. Hubbard
5e17038f01 Add 64 bit int support to scanf()
PR:		2080
Submitted by:	David Dawes <dawes@rf900.physics.usyd.edu.au>
1997-07-01 17:46:39 +00:00
Bruce Evans
2ee7aa1179 $FreeBSD$ -> $Id$.
Removed Berkeley Id.  We never did this like Berkeley (because cvs doesn't
handle symlinks) and no interesting Berkeley words are left.
1997-07-01 16:20:56 +00:00
Philippe Charnier
0bd47384ea Do not use argv[0] in usage(). 1997-07-01 06:37:34 +00:00
Philippe Charnier
ca15609236 Add usage(), rcsid. Use getopt().
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
Jordan K. Hubbard
55f4e300b4 Change the naming conventions for preserve'd files and also document
the option in pkg_create.  Now preserved files start with a . and are
named .<filename>.<pkgname>.backup so that their purpose is more clear.

Note that just using the preserve option without proper pkg_deps
is also foolish since packages being deleted in the incorrect order with
preserve on can generate some odd results.
1997-07-01 06:13:51 +00:00
John Polstra
66e39adc7c Fix a bug (apparently very old) that can cause a TCP connection to
be dropped when it has an unusual traffic pattern.  For full details
as well as a test case that demonstrates the failure, see the
referenced PR.

Under certain circumstances involving the persist state, it is
possible for the receive side's tp->rcv_nxt to advance beyond its
tp->rcv_adv.  This causes (tp->rcv_adv - tp->rcv_nxt) to become
negative.  However, in the code affected by this fix, that difference
was interpreted as an unsigned number by max().  Since it was
negative, it was taken as a huge unsigned number.  The effect was
to cause the receiver to believe that its receive window had negative
size, thereby rejecting all received segments including ACKs.  As
the test case shows, this led to fruitless retransmissions and
eventually to a dropped connection.  Even connections using the
loopback interface could be dropped.  The fix substitutes the signed
imax() for the unsigned max() function.

PR:		closes kern/3998
Reviewed by:	davidg, fenner, wollman
1997-07-01 05:42:16 +00:00
Jordan K. Hubbard
0395b68640 Allow distSetByName() to process all the relevant entries.
Submitted by: msmith
1997-07-01 03:50:58 +00:00
Bruce Evans
057b294dc0 Un-inline a call to spl0(). It is not time critical, and was only inline
because there was no non-inline spl0() to call.

Don't frob intr_nesting_level in idle() or cpu_switch().  Interrupts
are mostly disabled then, so the frobbing had little effect.
1997-07-01 01:34:30 +00:00
Bruce Evans
b563e748a9 Added ifdefs so that this compiles when neither I586_CPU nor I586_CPU
is defined, or SMP is defined.  It is silly to configure PERFMON when
it can't work (it will be disabled at runtime), but I like to leave
the PERFMON configuration alone when I temporarily disable support for
modern CPUs to run regression tests.

Removed an unused #include.
1997-07-01 01:18:38 +00:00
Bruce Evans
dc514523a7 Un-inline a call to spl0(). It is not time critical, and was only inline
because there was no non-inline spl0() to call.
1997-07-01 01:02:03 +00:00
Bruce Evans
be69522eec Some staticized variables were still declared to be extern. 1997-07-01 00:54:37 +00:00
Bruce Evans
43a6378726 Removed extra definition of constty. It is defined in subr_prf.c. 1997-07-01 00:52:37 +00:00
Bruce Evans
48792cfc18 Don't cast function pointers to (void *). This will cause warnings.
They should be fixed when similar warnings for the general interrupt
attach routines are fixed.

Removed unused #include.
1997-07-01 00:45:45 +00:00
Bruce Evans
61f3323058 Don't depend on <machine/cpufunc.h> including <sys/types.h>. In fact,
don't include this kernel-only header at all, since we don't need it.
1997-07-01 00:33:42 +00:00
Bruce Evans
72ef571982 Don't depend <machine/cpufunc.h> including <sys/types.h>. 1997-07-01 00:29:33 +00:00
Bruce Evans
a24a66635c Don't depend on gcc's feature of permitting labels that aren't followed
by a statement.
1997-07-01 00:22:51 +00:00
Bruce Evans
06daa05136 Enabled some SMP options. LINT is for testing that all code compiles
cleanly, so only negative options should be commented out.  Options
should have non-default values.
1997-07-01 00:14:39 +00:00