Commit Graph

25025 Commits

Author SHA1 Message Date
Philippe Charnier 0da8bf4ab2 Use err(3). 1997-10-29 07:26:09 +00:00
Philippe Charnier 988345234d Typos in man page. Cosmetics in error strings. 1997-10-29 07:25:05 +00:00
Brian Somers 0fe7ca3165 o Bump version to 1.3 to reflect major changes
o  Report modem connect time properly
o  Report bytes in/out over physical media
o  Fix phases (TERMINATE is *higher than* DEAD)
o  Do a LayerFinish from LcpDown
o  Bring down IPCP & CCP when we enter PHASE_TERMINATE
o  Give a new prompt when we go to PHASE_DEAD
o  Stop the modem timer properly when idle
o  Treat sig 15 like an exiting carrier loss
o  Log (DEBUG) offline & online transitions
1997-10-29 01:19:51 +00:00
John Polstra 0e5e974182 The previous change added a use of the DATA_SET macro, but forgot
to define it by including <sys/kernel.h>.  That broke PC-CARD
support for this driver, producing the dreaded "device allocation
failed" message.  Surprisingly, the missing include caused only
two compiler warnings.  The compilation still "succeeded" anyway.
1997-10-29 00:51:50 +00:00
Julian Elischer 1d0eab59d3 Fix various problems with netatalk kernel support.
Some of these changes are a bit rough and will become
more polished later.  the changes to if_ethersubr should largely be moved
to within the appletalk code, but that will happen later.
A few of these were related to network-byteorder problems,
and more were related to loopback failures.
1997-10-29 00:30:52 +00:00
Guido van Rooij 098eef7a15 I wonder how I managed to get the krb.h include wrong. Anyway: correct it. 1997-10-28 21:20:21 +00:00
Nate Williams 57bb328afe - More style nits (sorry, I should have done this last time). 1997-10-28 20:58:53 +00:00
Nate Williams 6a6dd364ab - Style nit. 1997-10-28 20:50:58 +00:00
Poul-Henning Kamp d1bbc7ec65 Remove the long description from the in-kernel datastructure.
Put a magic field in there instead, to help catch uninitialized
malloc types.
1997-10-28 19:01:02 +00:00
Guido van Rooij bc189bf8f7 Fix bugs from my previous commit
Submitted by:	Bruce Evans
1997-10-28 18:55:21 +00:00
Nate Williams ec510cabb0 - Disable cards when doing a suspend by emulating that they have been
removed.  Add a new state 'suspend' so we 'fake' insertion events at
  resume time for the cards that have been suspended.

[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]

Reviewed by:	frf@xocolatl.com
1997-10-28 17:51:25 +00:00
Brian Somers af8eceb3f6 Don't logwtmp(), login() already does it.
Log us out of utmp & wtmp if we're already in there.
PR:		4862
1997-10-28 16:50:56 +00:00
Bruce Evans 55b211e3af Removed unused #includes. 1997-10-28 15:59:26 +00:00
Garrett Wollman 734091be67 Zaire is now the Dem. Rep. of the Congo, and has new two- and three-letter
codes.

Obtained from: ISO 3166 Maintenance Agency via RIPE NCC
1997-10-28 15:45:09 +00:00
KATO Takenori 016f33ea47 Synchronize with sys/i386/isa/npx.c and clock.c revisions 1.53 and
1.103, respectively.
1997-10-28 14:30:47 +00:00
KATO Takenori 47d57b2340 Synchronize with sys/i386/conf/files.i386 revision 1.178. 1997-10-28 14:29:23 +00:00
Andrey A. Chernov 2d9c794b58 1) Create intermediate directories with 755, not 777
2) Exit with error diagnostic if file exists but not a directory (-d)
3) Do chmod independently of chown (-d)
1997-10-28 14:20:10 +00:00
Bruce Evans 3b67b033e1 Don't #include <nfs/nfs.h> in <nfs/nfs_node.h> if KERNEL is defined.
Fixed everything that depended on the nested include.
1997-10-28 14:06:25 +00:00
Andrey A. Chernov b34683ca29 Implement group part now, final syntax is:
user[:group][/login-class]
1997-10-28 13:46:52 +00:00
Bruce Evans 9e80199e1f This depends on option TCP_DEBUG for some reason, so include
opt_tcp_debug.h so that the option is visible again.

Restored a used #include.
1997-10-28 12:24:26 +00:00
Bruce Evans 7f47cf2f4a Don't include <machine/cputypes.h> or declare cputype/class interfaces
in <machine/cpu.h>.  Moved the declarations to <machine/cputypes.h>.
Fixed style bugs in the moved code.  Fixed everything that depended on
the nested include.  Don't include <machine/cpu.h> (in the changed files)
unless something in it is used directly.
1997-10-28 11:43:57 +00:00
KATO Takenori 9b86a4168f Implement linux_semop, linux_semget and linux_semctl.
PR:		4355
1997-10-28 10:50:02 +00:00
Bruce Evans 1315bcf7d4 Fixed style bugs in open() fix. 1997-10-28 10:29:55 +00:00
KATO Takenori da6aa91b49 Synchronize with sys/i386/conf/GENERIC revision 1.100. 1997-10-28 09:09:05 +00:00
Joerg Wunsch 5b50b1e179 Typo.
Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-28 07:46:27 +00:00
Joerg Wunsch ebc1f80ca7 Use the new "mandatory" keyword for the npx driver. 1997-10-28 07:28:34 +00:00
Joerg Wunsch 343b84b4e8 Removed another comment about not-so-mandatory devices i've missed in
the previous commit.  It's perfectly legal to build a kernel without
any video device driver (and even without any console driver at all if
desired).
1997-10-28 07:27:48 +00:00
Joerg Wunsch 1160da921f Remove the stale `log' non-pseudodevice.
Found by:	the new config(8) ;-)
1997-10-28 07:24:35 +00:00
Joerg Wunsch cea24a2b2e Allow for a keyword in the "files" file named "mandatory". The first
candidate for this is "npx0", more are likely to follow.

Check for pseudo-devices that are being configured, but don't appear
in any "files" file.  The ``pseudo-device bpf 2'' already hit me too
often.
1997-10-28 07:21:04 +00:00
Andrey A. Chernov cf57a56c94 1) Ignore -C with -d, not fail (for $(INSTALL) macro from /etc/make.conf)
2) When uid/gid not specified, not try to set 0:0 owner, just do nothing.
It makes possible to use install -d by users without setting
their uid:gid each time.
3) Be more specific where install_dir fails
1997-10-27 22:53:33 +00:00
Andrey A. Chernov 87b7ee4066 Back out moving nobody to daemon class, the problem fixed in another place:
inetd
1997-10-27 22:07:03 +00:00
Guido van Rooij 7a853dfffc Add -c option that allows root to specify a login_class. 1997-10-27 22:05:12 +00:00
Andrey A. Chernov 186a5319ff Implement login classes sepcification as user[/loginclass]
By default inetd run things with the same limits as from /etc/rc
(daemon class) to not break anything as in good old days.
1997-10-27 22:03:47 +00:00
Jean-Marc Zucconi 1f32911745 Use a MODE SELECT command to reset the block size, instead of calling the
prepare_track() function, which caused fixation problems with some drives.
1997-10-27 21:09:27 +00:00
Guido van Rooij efa4858705 When dosourcerouting is set do not sourceoute.... 1997-10-27 21:07:26 +00:00
Bruce Evans 4090154b9e Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h>
and fixed everything that dependended on it being declared in the old
place.  It is used in "machine-independent" code in subr_prof.c.

Moved declaration of btext from subr_prof.c to <machine/cpu.h>.  It
is machine-dependent.
1997-10-27 17:23:18 +00:00
Bruce Evans b3c0d23251 Oops, <machine/psl.h> is used unconditionally in -current. 1997-10-27 17:19:20 +00:00
Andrey A. Chernov a7572a0143 Move nobody to daemon class, otherwise it is impossible to start fingerd
while Apache is running, it effectively eats all default class limits for
nobody
1997-10-27 16:59:07 +00:00
Bruce Evans ba21341dfd Cleaned up #includes.
Ifdefed conditionally used includes.

Finished changing indentation of per-statement comments to 40.
1997-10-27 16:35:34 +00:00
Bruce Evans 521166c5b2 KNFize rev.1.31. 1997-10-27 15:39:01 +00:00
Bruce Evans 72cd7335b0 Use unique sleep message strings. 1997-10-27 15:33:04 +00:00
Bruce Evans 32e4d4c5e6 Use 127 instead of CHAR_MAX for the limit on the sequence count. The
limit doesn't have anything to do with characters.  The count mainly
needs to fit in the VOP_READ() ioflag after being left shifted by 16.

Moved vn_lock() before vn_closefile().  vn_lock() was mismerged from
Lite2.

Removed some gratuitous braces.
1997-10-27 15:26:23 +00:00
Bruce Evans 5a5573fd8e Use bread() instead of cluster_read() for reading the last block
in a file.  There was a (harmless, I think) off-by-1 error.  This
was fixed in ufs long ago (rev.1.21 of ufs_readwrite.c) but not
in cd9660.

cd9660_read() has stagnated in many other ways.  It is closer to
the Net/2 ufs_read() (which is was cloned from) than ufs_read()
itself is.
1997-10-27 14:55:49 +00:00
Steve Price f6e4fb22cf Better wording explaining that all single character options
are extensions along with the previous list of primaries.

Suggested by: bde
1997-10-27 14:25:54 +00:00
Bruce Evans ef91bd5734 Removed unused #includes. The need for most of them went away with
recent changes (docluster* and vfs improvements).
1997-10-27 13:33:47 +00:00
Bruce Evans 9405e2ed0c Forward declare precisely the structs that are actually used in this header. 1997-10-27 12:50:57 +00:00
Philippe Charnier 0069349cc5 Use err(3). 1997-10-27 12:30:30 +00:00
Philippe Charnier e7f0e9ca56 Remove `progname'. 1997-10-27 12:29:25 +00:00
Philippe Charnier c133210f74 Add usage() and err(3). Sync man page with usage string. 1997-10-27 12:27:21 +00:00
Philippe Charnier aff2354586 One line usage string: see man page for more info. 1997-10-27 12:25:38 +00:00