Commit Graph

146322 Commits

Author SHA1 Message Date
uwe
64026d26a0 .Nx should be on a line by itself. 2006-04-20 01:22:56 +00:00
gdamore
c5c8b2714a Regen. 2006-04-20 01:15:19 +00:00
gdamore
62e9e94873 Add a bunch of additional Radeon entries, and correct/cleanup a few of them
for consistency and to match Xorg.  I am assuming that Xorg contains the
correct information, since it actually makes use of this information.
2006-04-20 01:13:47 +00:00
uwe
5a943f6c33 Opening curly at the end of line should be followed by backslash to
prevent roff from seeing empty lines in input.
2006-04-20 01:10:23 +00:00
uwe
ee206b0099 Properly format apropos(1) example. 2006-04-20 01:05:47 +00:00
uwe
b7c401e893 Opening curly at the end of line should be followed by backslash to
prevent roff from seeing empty lines in input.
2006-04-20 00:57:33 +00:00
uwe
d6b8bef553 Trailing comments are introduced with \" not .\" 2006-04-20 00:05:32 +00:00
uwe
67f9355337 Spell Kungliga Tekniska H\(:ogskolan using escape sequence. 2006-04-19 23:35:59 +00:00
he
9975d46f43 Move ndiscvt to be an i386 MD program, so that this matches what the
Makefile specifies -- it only builds the program for i386 so far.
2006-04-19 21:53:12 +00:00
pavel
43bd0b5956 PR 32579: Add a -T flag to syslogd, which causes it to use local time for
messages received from the network. Useful for collecting logs from
devices which do not have correct time.

Add it to usage.

Document it, also document that syslogd adds a timestamp with the local
time if it does not recognize the original timestamp field. Bump date.

Approved by wrstuden@.
2006-04-19 21:18:50 +00:00
martin
36c96e27d5 Backout previous and redo it by eliminating a superflous production
instead - this eliminates the reduce/reduce conflict but leaves the
accepted language alone.
2006-04-19 20:38:49 +00:00
martin
8f6ebaa09e Remove a reduce/reduce conflict by splitting the "assign" non-terminal
into a assign_list one (comma separated list of assigns) and the simple
assign one.
2006-04-19 17:52:24 +00:00
tsutsui
91174570f2 - use M_NOWAIT rather than M_WAITOK for malloc(9) to allocate RX buffer
in zstty_attach()
- check a return value of the malloc(9)

Taken from com.c, and somehow this seems to fix PR port-sun2/32420 on tme.
2006-04-19 17:44:07 +00:00
macallan
29f4f9865a fix some ugly mixup of virtual and physical addresses 2006-04-19 17:41:24 +00:00
christos
19e3773ffa Apply fix from FreeBSD's advisory: fxrstor on AMD FPU's does not restore
FIP,FDP,FOP thus leaking other process's execution history.
2006-04-19 17:19:48 +00:00
rittera
d4fa82ba2a Removed the entire section on firmware from ndiscvt.8 as I don't think this is
currently working for NetBSD (I don't have any cards available that use the
firmware modules discussed).  I also removed referances to the non-existing
man-pages ndis(4) and ndisapi(9) from FreeBSD.
2006-04-19 17:01:50 +00:00
christos
23be85ae7f "struct ucred" should not be exposed to userland. Instead make it a "void *"
since it is not really used.
2006-04-19 15:52:58 +00:00
christos
ab0d027f23 Do the lex/yacc portions the sanctioned way, instead of adding Makefile gunk. 2006-04-19 15:45:21 +00:00
hannken
f4729837b8 Emit "a snapshot of" message for snap_internal case too. 2006-04-19 15:42:12 +00:00
christos
74e3aa75eb Perry reports that buf can be NULL, so deal with it. 2006-04-19 15:13:34 +00:00
he
14efda3f28 Be sure to prefix explicitly mentioned source files with ${.CURDIR}/,
so that this can build with objects placed elsewhere.
2006-04-19 15:10:40 +00:00
jmcneill
f77081f364 Don't use simple_locks; we can't hold them while calling malloc and
friends.
2006-04-19 14:10:58 +00:00
tron
1b9393837d Add missing entries for ndiscvt(8) and its manual pages. 2006-04-19 10:58:17 +00:00
drochner
1168954c68 adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
2006-04-19 10:31:44 +00:00
lukem
2eb5047221 Order & uniq DEPS, a la <bsd.dep.mk>. 2006-04-19 07:08:17 +00:00
lukem
7caf2ff17d Sort SYSTEM_OBJ before adding to SYSTEM_DEP.
Kernel builds are now more consistent with userland
(and IMHO building in order is more asthetically pleasing.)
2006-04-19 07:06:22 +00:00
he
c0f90d3a98 Follow up i/o statistics collection conversion, patterned after the sparc fd.c. 2006-04-19 06:16:00 +00:00
perseant
5f627fe958 Avoid a possible sign overflow condition in lfs_truncate, which would result
in a buffer overflow (underflow).  Coverity CID 1521.
2006-04-19 00:22:15 +00:00
perseant
80a505b9f7 Don't roll forward if we aren't given a process context. Coverity CID 1076. 2006-04-18 23:40:47 +00:00
perseant
e52cd940c0 Get rid of the LFS_FORCE_WRITE case. We never really used it, and it could
panic the kernel if cleaner daemon passed the right combination of arguments.
Coverity CID 2741.
2006-04-18 22:42:33 +00:00
perseant
f58c67b02f Yet another MP locking issue. 2006-04-18 21:41:20 +00:00
christos
53ae068fc6 Coverity CID 746: Remove dead code. lbn >= NDADDR is mutually exclusive to
snapshot_locked == 0.
2006-04-18 21:39:03 +00:00
jld
88064d75f5 Raise time limit on sanity-check warning printf to 10s (from 10 ticks),
to avoid false postives on Xen 3, which doesn't update the shared time
info as often.
2006-04-18 21:19:01 +00:00
hubertf
0161f34fc6 Bump for today's timeout change in ftpio.c 2006-04-18 20:40:48 +00:00
rjs
7f1dae0a6f Add PCKBCNOTEST option. 2006-04-18 20:06:38 +00:00
rpaulo
994567415c Fix another typo... I must be on drugs... 2006-04-18 19:30:49 +00:00
jmcneill
a46cb959f0 Protect audio_write's filter graph from being modified in the middle of a
write. Fixes the 'audioctl of death' problem (PR#32563).
2006-04-18 19:15:27 +00:00
peter
d0cb07c7ca Back out my rev 1.14, the printf is actually quite useful and
all other arm code show this information too.
And while here, prettify the output a bit.
2006-04-18 17:50:25 +00:00
xtraeme
b663f8d6ee options<space><tab>FOO 2006-04-18 17:03:18 +00:00
rittera
be97fc5a95 A number of minor changes for NDIS. (OK'd by phil)
1. Removed the makeoptions line from arch/i386/conf/GENERIC.  Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS.  NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.
2006-04-18 16:49:19 +00:00
christos
1736325575 PR/33828: Pawel Chwalowski: Add support for Broadcom BCM5789 chip 2006-04-18 14:53:43 +00:00
christos
da09d1a838 PR/33281: Martin J. Laubach: Prevent core-dump on "echo abc | { }". bash
prints and error and ksh prints nothing. We go the ksh way.
2006-04-18 14:44:05 +00:00
hubertf
19ef9ca981 unpackURL():
Make timeout mechanism's granularity always per-file (inside package)
instead of per-package (if not -v) or per-file (inside package, if -v).
2006-04-18 13:11:05 +00:00
pavel
dc9694f7fa VLAN tags were sent byte-swapped by the gsip driver, because the driver
forgets to convert them from the host to the network byte order. Use
bswap16 to convert them. (Not htons, because on a big-endian machine, they
are in the correct byte order initially, but then, they are byte-swapped
by a htole32 call when written to the transmit descriptor. So
byte-swapping is needed in this case too, to compensate for this htole32
call.)

For a similar reason, tags were seen byte-swapped when received on a
big-endian machine. Replace ntohs by bswap16 in the input path too.
(Again, it is needed to compensate for a le32toh call when the receive
descriptor is read.)

Fixes PR 32644.

Tested on 3.0/i386, 3.0/sgimips and current/alpha.

OK by martin@.
2006-04-18 13:07:03 +00:00
rpaulo
2f81fede5b Use strlcpy instead of strncpy and sizeof. Requested by Luke. 2006-04-18 12:49:02 +00:00
darrenr
0df9b5fe68 ipf -Z returns junk and/or can cause a panic (seen on solaris.) 2006-04-18 12:40:49 +00:00
tsutsui
e2f83bd318 Check more invalid devices in pci_conf_hook(9). 2006-04-18 12:26:45 +00:00
simonb
1525687690 Copy sysconf(_SC_SEMAPHORES) test from regress/lib/librt/sem/sem.c
so we abort a bit more gracefully if semaphores aren't configured
in the kernel.
2006-04-18 12:21:05 +00:00
salo
ce4da208d9 Note init(8) multi-user chroot() support. 2006-04-18 11:45:42 +00:00
salo
b0b7590bc7 Add support for running multi-user in a chroot() environment.
How it works:

- after successful execution of /etc/rc, check the value of "init.root"
  sysctl node, if it's different than "/", chroot() into its value and run
  /etc/rc inside the chroot(),

- in single-user, return back to the original / file system.

Allows running with / file system on e.g., cgd(4), vnd(4) or ccd(4) volumes.

Idea first discussed with Matt Thomas, implemented by Jachym Holecek <freza
(at) liberouter.org> with some nitpicks by me.  Successfully used by me for
almost a year with / on a cgd(4) volume (for more information about the setup
check ftp://ftp.NetBSD.org/pub/NetBSD/misc/salo/init-chroot/ ).
2006-04-18 11:40:26 +00:00