Andrey A. Chernov
f5e00e241f
Initial import
1997-10-29 16:14:35 +00:00
Andrey A. Chernov
4be67e9c5a
This commit was generated by cvs2svn to compensate for changes in r30839,
...
which included commits to RCS files with non-trunk default branches.
1997-10-29 16:14:35 +00:00
Nate Williams
be8e398409
- Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()
...
Noticed by: bde
1997-10-29 15:54:19 +00:00
KATO Takenori
404c835d69
Implement linux_iopl and linux_nice.
1997-10-29 08:17:14 +00:00
KATO Takenori
7b3e3f96e5
Sync with sys/i386/isa/if_ed.c revision 1.126.
1997-10-29 08:14:56 +00:00
KATO Takenori
acc66972fe
Synchronize with sys/i386/i386/microtime.s revision 1.34.
1997-10-29 08:13:32 +00:00
Julian Elischer
de1e682d58
didn't even know fddi had the atalk support.
...
fix it here too. (really needs more of the fixes from the ethernet)
1997-10-29 07:59:27 +00:00
Jordan K. Hubbard
d424167c3c
Do chflags properly even when running multi-user.
1997-10-29 07:47:06 +00:00
Philippe Charnier
5e24be183a
Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
...
Check the return value of gethostname() like in timed. Make enough place to
NUL-terminate the result.
1997-10-29 07:35:27 +00:00
Philippe Charnier
0b778a4e7f
Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded.
1997-10-29 07:32:30 +00:00
Philippe Charnier
dd63f75f44
Use err(3). Rewrote man page using mdoc format.
1997-10-29 07:27:56 +00:00
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