des [Sun, 10 Jun 2001 15:48:04 +0000 (15:48 +0000)]
sbuf_new(9) now returns a struct sbuf * instead of an int. If the caller
does not provide a struct sbuf, sbuf_new(9) will allocate one and return
a pointer to it.
dfr [Sun, 10 Jun 2001 13:39:10 +0000 (13:39 +0000)]
Move the first section up one page. The firmware bogusly uses the first
page of the image to load section headers and if we let the text section
start at zero, it corrupts the section table when its loaded. With this
change, the loader gets as far as the 'ok' prompt.
dillon [Sat, 9 Jun 2001 18:06:58 +0000 (18:06 +0000)]
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.
imp [Sat, 9 Jun 2001 06:43:54 +0000 (06:43 +0000)]
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.
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>
bmah [Fri, 8 Jun 2001 18:35:09 +0000 (18:35 +0000)]
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.
bmah [Fri, 8 Jun 2001 15:31:54 +0000 (15:31 +0000)]
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. :)
gallatin [Fri, 8 Jun 2001 13:38:02 +0000 (13:38 +0000)]
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
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:
phk [Fri, 8 Jun 2001 11:53:58 +0000 (11:53 +0000)]
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>
imp [Fri, 8 Jun 2001 07:16:56 +0000 (07:16 +0000)]
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.
peter [Fri, 8 Jun 2001 05:24:21 +0000 (05:24 +0000)]
"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.
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).
lock sound device when adding/removing channels
implement setblocksize for vchans
don't panic when doing certain ioctls or aborting on a vchan
xmms now works with vchans
- Exit 1 if "add", "change", or "delete" operation fails.
PR: bin/12489
- Use inet_ntoa(3) where it should have been used. This
part of code simply wasn't converted to the "new" style
after the routename() function was converted from the
protocol-generic version to protocol-specific version
in CSRG revision 5.6.
- Renamed the ``proxy'' modifier of the -d flag to ``pub'',
to be consistent with the -s flag. Updated documentation
on what this modifier does.
- Added the ``only'' keyword to the -s and -S flags, that
could be used to created "proxy-only" published entries.
Previously, arp(8) created an entry of this type only
in the absence of the route to a destination.