Commit Graph

22441 Commits

Author SHA1 Message Date
bde
f96e3b64ac Merge from Lite2.
- use new getvfsbyname() interface.
- new -A option, like -a except only mounted file systems are unmounted.

All non-cosmetic FreeBSD changes in umount.c, except ignoring of
realpath() failures, went away because they are done better in Lite2.
realpath() failures must be ignored so that non-pathnames like
"<above>:/foo" and "host:/bar" get as far as mount(2).

Reviewed by:	dfr
1997-06-16 11:20:05 +00:00
kato
e7c620f416 Fixed comment.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-16 09:56:57 +00:00
kato
bebffb5032 Give up automatic detection of card model. Since DP8390 based NICs
are similar to each other, it is difficult to detec card type
automatically.

Reviewed by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-16 09:54:30 +00:00
max
ba3c9ef967 Typo fix.
PR:		3868
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-16 06:54:30 +00:00
charnier
e4cd6f51ca Use err(3) instead of local copy. 1997-06-16 06:43:13 +00:00
charnier
03fe5003eb Use err(3) instead of local err() (a errx() like function). 1997-06-16 06:38:14 +00:00
charnier
ad63a4c160 Use err(3). 1997-06-16 06:35:23 +00:00
charnier
f57e3df332 Fix 2 typos. 1997-06-16 06:32:51 +00:00
dg
81c10fbfdf Minor optimization in fxp_intr. 1997-06-16 04:45:57 +00:00
dyson
1dcc2689e7 Modifications to existing files to support the initial AIO/LIO and
kernel based threading support.
1997-06-16 00:29:36 +00:00
dyson
195ce8e1d0 Add initial AIO/LIO kernel thread support files. This is preliminary, and
further features will be added.
1997-06-16 00:27:26 +00:00
dyson
8b3feca679 Upgrade NFS to support the new vfs_bio resource/buffer management. 1997-06-16 00:23:40 +00:00
dyson
db14cfe28c Correct the return code for the mlock system call. Also add the stubs
for mlockall and munlockall.
1997-06-15 23:35:32 +00:00
dyson
2e39fb736c Fix a reference problem with maps. Only appears to manifest itself when
sharing address spaces.
1997-06-15 23:33:52 +00:00
wpaul
3c54eb0587 Remember to zero sockaddr_in struct before calling uaddr_to_sockaddr() to
populate it. Not doing this can result in a garbage sockaddr_in, which
will cause connect() to block inside clnttcp_create().
1997-06-15 21:03:32 +00:00
ache
898607164b srandomdev: use stack junk value in the fallback code too 1997-06-15 18:23:19 +00:00
dyson
eb8e1f5e4e Fix a problem with the VN device. Specifically, the VN device can
cause a problem of spiraling death due to buffer resource limitations.
The vfs_bio code in general had little ability to handle buffer resource
management, and now it does.  Also, there are a lot more knobs for tuning the
vfs_bio code now.  The knobs came free because of the need that there
always be some immediately available buffers (non-delayed or locked) for
use.  Note that the buffer cache code is much less likely to get bogged
down with lots of delayed writes, even more so than before.
1997-06-15 17:56:53 +00:00
kato
d85a7bf572 Fixed iomem address of SMIT mode in an example of bs driver. 1997-06-15 16:38:12 +00:00
kato
41888e8395 Synchronize with sys/i386/i386/machdep.c revision up to 1.249. 1997-06-15 16:35:13 +00:00
kato
b3ecaa3962 Synchronize with sys/i386/boot/biosboot/boot.c revision 1.67. 1997-06-15 16:33:52 +00:00
wollman
cfea13c538 Fix another power down braino. 1997-06-15 02:24:06 +00:00
wollman
29e9046de4 Fix definition of apm_power off (was suffering from cut&paste syndrome). 1997-06-15 02:19:40 +00:00
wollman
d3793afec0 When APM is configured, turn off the power when halting for good. 1997-06-15 02:03:03 +00:00
ache
a884e3c1fc Belgian keyboard fixes
Submitted by: bovynf@awe.be
1997-06-14 22:26:52 +00:00
max
54ca0a3181 Typo fix.
PR:		3869
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-14 19:45:00 +00:00
max
4db3a07a68 Typo fix.
PR:		3662
Submitted by:	Matthew Hunt <mph@pobox.com>
1997-06-14 19:30:27 +00:00
fsmp
a4ee132681 Added 2 new defines:
- OVERRIDE_TUNER: allows you to manually choose the tuner type for those
                   cards that fail to probe properly.  See source for legal
                   values.
 - OVERRIDE_DBX:   allows you to manually choose DBX or NO DBX for those
                   cards that fail to probe properly.
                   0 == no DBX circuit present, 1 == DBX circuit present.
1997-06-14 19:10:53 +00:00
jdp
8ebc7b7d49 Update some text to reflect the fact that symbolic links now have
owner and group attributes.
1997-06-14 18:44:03 +00:00
bde
5ce1ca7ded Removed unused #includes. 1997-06-14 15:19:48 +00:00
bde
22b6cfd000 Removed unused #includes. 1997-06-14 15:11:07 +00:00
bde
42d8f4d690 Fixed the type of a timeout function and removed casts that hid the
problem.  There was no problem in practice (at least on 386's).
1997-06-14 14:54:55 +00:00
bde
80b2960a8c Removed unused #includes. 1997-06-14 14:17:07 +00:00
bde
eb2f083ba6 Removed unused #includes. 1997-06-14 13:56:12 +00:00
bde
302a2f962e Removed unused #includes. 1997-06-14 11:52:37 +00:00
bde
551134d4e8 Removed unused #includes. 1997-06-14 11:38:46 +00:00
bde
672c312961 Don't require superuser privileges for creating fifos. The v2 case was
broken when support for v3 was introduced in rev.1.16.  The v3 case has
always been broken in FreeBSD.

Should be in 2.2.

PR:		3838
1997-06-14 11:19:35 +00:00
ache
f9302eec85 Move machine/types.h to non-standard section
Change order of arc4* functions
Pointed-by: bde
1997-06-14 10:45:25 +00:00
bde
a47fc068b9 Load the kernel config file where userconfig (with option USERCONFIG_BOOT)
will see it.  The name of the file is obtained by appending ".config"
to the name of the kernel file.  If the file doesn't exist, then an
annoying message is printed.

Reduced the command line buffer size yet again from 4096 to 1024.  It is
oversized to defend against overrun in gets(), but data space is starting
to run out so the buffer size can't be as grossly oversized as before.
1997-06-14 10:00:42 +00:00
kato
71e1483804 Deleted #ifdef PROBE_KEYBOARD to synchronize.
Submitted by:	Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-06-14 06:33:53 +00:00
ache
f23eadb87b Back out recent color-xerm and xterm merging,
it can leads to confusion with what programs traditionly expect
and gains almost nothing since -tn option exist to specify desired term.
1997-06-14 05:42:00 +00:00
ache
30e34273cc Replace random() by arc4random() since random() can't be used
in libraries, it may damage its predictable sequence
1997-06-14 04:05:01 +00:00
ache
cc33f39796 Remove srandomdev fallback code 1997-06-14 02:29:19 +00:00
ache
cbd380e632 Add arc4random family declaration 1997-06-14 01:33:52 +00:00
ache
cff03109e9 Change u_char which require special include to unsigned char 1997-06-14 01:28:59 +00:00
ache
93ef2a033a Add arc4random() functions from OpenBSD. They are almost same as our
srandomdev(), but can be used inside libraries. random() can't be used
inside libraries because it breaks its possible predictable sequence.
arc4random() is true random as designed, so its usage is library-safe.
Obtained from: OpenBSD
1997-06-14 01:15:41 +00:00
ache
aee8cc2f52 Remove srandomdev fallback code 1997-06-14 00:37:08 +00:00
ache
66946f9305 Remove srandomdev fallback code 1997-06-14 00:27:03 +00:00
ache
1b5fc58b0b Remove srandomdev fallback 1997-06-14 00:17:53 +00:00
ache
98ddc15c28 Instead of copying fallback code over and over in each program,
implement (better) falback code inside srandomdev() itself.
Change return type from int to void (binary compatibility surprisely
achieved). Userland code will be changed soon.
1997-06-14 00:14:29 +00:00
dg
f0711d970f Added support for the Intel 82555 PHY chip which is being used on newer
Pro/100B cards. Full duplex should work now, although it hasn't been
tested.
1997-06-13 22:34:52 +00:00