Commit Graph

60818 Commits

Author SHA1 Message Date
des
2200808ed2 Blah, not my day. This file needs <sys/mutex.h> now. 2001-06-10 10:42:55 +00:00
des
6611a5aec9 Remember to unlock the process pfind() returns. 2001-06-10 10:42:01 +00:00
des
ba8acfca9c Add missing #include of <sys/mutex.h>. 2001-06-10 10:36:16 +00:00
des
ed9d5b3f21 Catch up with the change in sbuf_new's prototype. 2001-06-10 10:34:21 +00:00
imp
d7d5ffbd0c Remove comments about PCMCIA fdc attachment using flags 0x2. The 4.x version
of this code doesn't do that.
2001-06-10 04:40:02 +00:00
nyan
a8994de1be Move the files from i386/isa/ic/ to dev/ic/. 2001-06-10 04:28:39 +00:00
nyan
6ae6cb616e Added ESP98 specific register (merged from i386/isa/ic/esp.h). 2001-06-10 04:20:37 +00:00
nyan
c23c8fa137 Removed unneeded pc98 code (merged from i386/isa/ic/ns16550.h). 2001-06-10 04:18:19 +00:00
imp
a1ad42cba1 Provide better advise than the last commit to UPDATING advocated about
running newer pccard software.
2001-06-10 03:09:52 +00:00
julian
3c908ca42d Add an example of how to do the cryptic change suggested by UPDATING
for pccard IRQs.
2001-06-10 02:59:59 +00:00
benno
cf63bc7c40 Bring in NetBSD code used in the PowerPC port.
Reviewed by:	obrien, dfr
Obtained from:	NetBSD
2001-06-10 02:39:37 +00:00
benno
49186d9c66 Changes to sys/ includes to support PowerPC.
Reviewed by:	obrien, dfr
2001-06-10 02:08:36 +00:00
dd
fca35179a9 Document the PANIC_REBOOT_WAIT_TIME option.
PR:		22228
Submitted by:	Keith Jones <keith@mithy.demon.co.uk>
2001-06-10 00:30:49 +00:00
imp
ded73fb50e fdc doesn't support talking to QIC40/QIC80 tape drives, and hasn't since
ft was removed from the tree prior to branching releng_3!
2001-06-10 00:27:18 +00:00
dd
1108aeca45 Add a comma between the two names in the CONTRIBUTERS section. 2001-06-10 00:23:05 +00:00
dillon
e40207c04b Two fixes to the out-of-swap process termination code. First, start killing
processes a little earlier to avoid a deadlock.  Second, when calculating
the 'largest process' do not just count RSS.  Instead count the RSS + SWAP
used by the process.  Without this the code tended to kill small
inconsequential processes like, oh, sshd, rather then one of the many
'eatmem 200MB' I run on a whim :-).  This fix has been extensively tested on
-stable and somewhat tested on -current and will be MFCd in a few days.

Shamed into fixing this by: ps
2001-06-09 18:06:58 +00:00
obrien
cae619f7c5 fix RCS ID style nit 2001-06-09 16:54:11 +00:00
dfr
caf26611fb First approximation of an ia64 EFI loader. Not functional. 2001-06-09 16:49:51 +00:00
ru
bd16437801 Simplify, with the power of new mdoc(7). 2001-06-09 11:20:31 +00:00
sheldonh
195e105cc9 Fix /etc/rc so that all remote filesystems, not just NFS, are mounted
after the network is configured.

Future remote filesystem types should be added to remote_fstypes, which
is a whitespace-delimited list of type:description pairs.

The specific problem this fixes right now is that smbfs mounts described
in /etc/ftsab were failing.
2001-06-09 09:47:05 +00:00
brian
6791c397de Bump __FreeBSD_version to reflect machine/ioctl_fd.c moving to sys/fdcio.h 2001-06-09 09:09:45 +00:00
imp
8a422aa71a First stab at adding back in CL-PD6729 support. 2001-06-09 07:34:17 +00:00
imp
fee9ded577 Add PC9801-102 CBUS card to the list of plug and play devices. Some
mapping of irq 6 may be required to use that irq, but if so,
additional commits will follow.

Submitted by: Hiroshi TSUKADA-san
2001-06-09 06:43:54 +00:00
dd
947043141f Add -j to the usage string.
PR:		27986
Submitted by:	Cyrille Lefevre <clefevre@redirect.to>
2001-06-09 06:14:05 +00:00
obrien
8da96c64fe ID style nit. 2001-06-09 05:24:14 +00:00
obrien
17cdb5fdeb Update copyright. 2001-06-09 05:22:31 +00:00
obrien
94989e8460 Fix style of defines. 2001-06-09 05:21:17 +00:00
obrien
5573a1f609 Style fix FreeBSD ID, and change continuation style slightly. 2001-06-09 05:01:24 +00:00
dd
8b706255ca Since we use getopt (in rev. 1.12), there's no need for the case's for
the individual options to increment argv and decrement argc.  This
caused the -T option to swallow an extra argument.

PR:		27982
Submitted by:	Samuel Greear <sgreear@vsni.com>
2001-06-09 04:32:46 +00:00
dd
a6510c70ed Normalize the use of sizeof according to style(9).
Reviewed by:	md5(1)
2001-06-09 03:56:16 +00:00
peter
7b55d3bd4e dumpmag is 'u_long dumpmag' in the kernel, not 'int'. If this worked on
the Alpha, it was because of luck that it was little endian.

Tidy up the dumpsize/dumppages confusion and the out of date comments.
2001-06-09 01:41:03 +00:00
dd
5cefbb92f6 Xref dladdr(3).
Requested by:	-hackers
2001-06-08 22:50:33 +00:00
green
d858193287 Switch to the user's uid before attempting to unlink the auth forwarding
file, nullifying the effects of a race.

Obtained from:	OpenBSD
2001-06-08 22:22:09 +00:00
schweikh
2e8c65c839 Fix a "this sentence no verb" grammar bogon.
MFC after:	1 week
2001-06-08 21:20:14 +00:00
bmah
0a8c952eb0 New release notes: OLDCARD PCI support, savecore(8) 2GB RAM fix,
inetd(8) faith syntax, ident support in inetd(8).

MFCs noted:  Linux-PAM 0.75

Move PAM authenticators to be in the right place and update.
2001-06-08 19:18:50 +00:00
bmah
a45d43b856 MFS: Apply edits from 4-STABLE errata file to -CURRENT. Also add some
comments and notes to the effect that this file won't have any real
content until after 5.0-RELEASE.
2001-06-08 18:35:09 +00:00
imp
e5c9f410f1 Go ahead and request 0x44000000 through 0xfffffff instead of just
0xefffffff

# Note, this is bogus, but less bogus than before.
2001-06-08 18:31:51 +00:00
ru
bde8f2ea0a Always print at least 2 bytes for IN_CLASSB_NET networks.
Always print at least 3 bytes for IN_CLASSC_NET networks.

The standard 193.0.0 class C network for example, will now
be displayed as "193.0.0" as opposed to the confusing 193.

PR:		bin/21546
MFC after:	1 week
2001-06-08 15:44:17 +00:00
bmah
5a8d120f6d Forced commit:
The last commit to this file introduced some text that was "Copyright (C)
2000 BSDI".  It was asserted (correctly) that permission should have been
sought from someone at BSDi / WindRiver first.

In response to a query on this point, jkh wrote:

> Hmmm.  I'm not sure we ever asserted any particular copyright, but in
> any case it's certainly not clear who one would ask.  Me?  If so,
> I give my permission. :)

Astutely pointed out by:	murray
Approved by:			jkh
2001-06-08 15:31:54 +00:00
gallatin
66e0352790 Sync up to v 1.9 of NetBSD's db_trace.c to get access to the
greatly improved traceback code from Ross Harvey.  This code
requires the use of more traceback friendly temporary labels
at kernel entry points, hence the changes to exception.s and
asm.h

Reviewed by: jhb, dfr
Obtained from: NetBSD
MFC after: 1 week
2001-06-08 13:38:02 +00:00
ru
ea778834bc When changing an indirect route, kernel routing code allocates
a route to the gateway and caches it in the route structure.
It may happen (if the routing table is screwed) that the gateway
route is the same route as the one being modified, in which case
a kernel reports EDQUOT.  Be more verbose about this:

# route add -net 10 192.168.4.65
add net 10: gateway 192.168.4.65
# netstat -rn -finet
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            192.168.4.65       UGSc        1        7      rl0
10                 192.168.4.65       UGSc        0        0      rl0
127.0.0.1          127.0.0.1          UH          0      178      lo0
192.168.4          link#1             UC          2        0      rl0 =>
192.168.4.65       0:d0:b7:16:9c:c6   UHLW        2        0      rl0   1123

Before:

# route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: Disc quota exceeded

After:

# ./route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: gateway uses the same route

PR:		bin/1093, misc/26833
2001-06-08 12:44:25 +00:00
tanimura
4ff74b0188 Catch up to csareg.h rev 1.3.
Forgotten by:	cg
2001-06-08 11:57:39 +00:00
phk
a82ed43b43 The date for Australia day in
src/usr.bin/caldendar/calenders/calendar.holiday
is incorrect.
From looking through webcvs it seems like the error is in Open/NetBSD also.

PR:		27960
Submitted by:	Harley Anderson <Warragul@selcon.com.au>
2001-06-08 11:53:58 +00:00
sos
aeb5af13c2 Add support for yet another Promise ATA100 variant
Minor fix to the VIA setup code.
2001-06-08 09:51:33 +00:00
ru
fd3ff71ad3 Change the host/bits syntax introduced in route.c,v 1.24 to the
net/bits syntax, for consistency with netstat(1) in particular.

OK'ed by:	phk
MFC after:	1 week
2001-06-08 09:07:34 +00:00
imp
9264fcea6a The TI-1031 is more like the TI-113x chips rather than the 12xx or
higher chips.  Treat it as if it were a 113x.  This is correct as far
as 16-bit cards go, at least how we're using it.

# It appears that my TI-1031 based pci card that YAMAMOTO shigeru-san gave
# me on my trip to Japan now works.
2001-06-08 07:16:56 +00:00
peter
98a80399d1 "Fix" the previous initial attempt at fixing TUNABLE_INT(). This time
around, use a common function for looking up and extracting the tunables
from the kernel environment.  This saves duplicating the same function
over and over again.  This way typically has an overhead of 8 bytes + the
path string, versus about 26 bytes + the path string.
2001-06-08 05:24:21 +00:00
dd
ab6a401709 Correct a typo.
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-06-08 04:41:21 +00:00
dd
4348aeaf3a Remove xref to blackhole(4). sysctl has nothing to do with
blackhole(4), except that blackhole(4) uses sysctl's.  This xref
obviously isn't appropriate unless we want to xref all the other man
pages which mention sysctls, which we obviously don't (we may want to
list those sysctls, but that's another story).

PR:		27937
Submitted by:	yar
2001-06-08 03:12:32 +00:00
peter
e9b0b951fb 'int dumpsize; /* memory size in bytes */' is not good for machines
with 2GB or more of ram.
2001-06-08 03:06:24 +00:00