Commit Graph

155574 Commits

Author SHA1 Message Date
elad 317687e988 Don't rely on KAUTH_PROCESS_CANSEE for environment just yet,
otherwise we're allowing anyone to read the environment unless
curtain is enabled.

From yamt@.
2007-01-22 15:11:52 +00:00
christos bbc680871a Add another volatile, mentioned in current-users from a cross-build on amd64. 2007-01-22 15:06:31 +00:00
jdc 3cfa1eec0a Add additional cross-references (from Slava Semushin). 2007-01-22 11:57:44 +00:00
joerg a69e0dfa1d exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
dyoung b9f72dd1c3 Stop 'build.sh -V MKDOC=no distribution' from quitting in the
checkflist stage: remove the 'doc' tag from /usr/share/doc/html/ntp
and all of the directories below.
2007-01-22 08:00:47 +00:00
cbiere f5b684cf56 Added missing const-qualifiers. 2007-01-22 01:38:33 +00:00
macallan 4aa2bfbc61 get rid of OpenFirmware dependencies, use device properties instead 2007-01-22 00:12:24 +00:00
macallan 3ee719808f of_compatible() returns -1 not 0 when nothing matches. Doh. 2007-01-22 00:10:27 +00:00
macallan 130442d345 make OF_interpret actually deal with input arguments 2007-01-21 23:59:39 +00:00
macallan ed57b01256 add bus_space_*_stream() methods 2007-01-21 23:19:57 +00:00
cbiere 6d8f729825 Added const-qualifiers. 2007-01-21 23:00:08 +00:00
wiz 0b400eb99f Remove trailing space and grammar fix. 2007-01-21 22:14:53 +00:00
cbiere 551466a6e7 Avoid crash if the filename contains no digits. 2007-01-21 20:45:41 +00:00
pooka 2874c0e4be optimize a bit: don't flush pages for vnodes which have no references
in the kernel or links in the backend
2007-01-21 16:29:31 +00:00
hannken facd1f65cb Add and update documentation for fstrans(9) file system suspension helper.
wiz?
2007-01-21 15:42:36 +00:00
pooka 092746dfb6 remove diagnostic printf 2007-01-21 14:52:20 +00:00
jdc 1f221324cf Add debug "areas" that allow selective debugging by setting the
"CURSES_TRACE_MASK" environment variable.  Postive vales include
debug areas, negative values exclude them.
2007-01-21 13:25:36 +00:00
blymn fa0b432b40 Wide curses merge 2007-01-21 11:38:58 +00:00
blymn 17c16404e9 This file originates from the ncurses distribution, thanks to the ncurses people for letting us use it 2007-01-21 11:38:58 +00:00
blymn 5dfe4c8b18 Wide curses merge 2007-01-21 11:38:58 +00:00
kiyohara e3e6e213ed follows to style guide and C99.
Add ARGSUSED and __unused.
  Remove braces at return.
Use device_private() and aprint_*().
2007-01-21 11:01:09 +00:00
tsutsui 56b4b91a79 Recognize more AMD64 CPUIDs. 2007-01-21 08:47:43 +00:00
kardel 8acf6049c0 Use the portable version to declare the type of the length argument
for the recv*() functions. Fix queued with the NTP project.
2007-01-21 07:59:31 +00:00
apb 8bf6b18942 Regen. 2007-01-21 07:12:50 +00:00
apb 022e630f86 Fix typo in name of USA-19QW.
Reported in PR 35452 from H. Todd Fujinaka.
2007-01-21 07:10:50 +00:00
isaki 9e86a000cf Add support for CS5536. 2007-01-21 05:04:15 +00:00
isaki b98c498409 Add support for CS5536.
Reviewed by tsutsui@ on port-i386.
2007-01-21 05:00:34 +00:00
isaki 6a9b160f1f Regen; AMD Geode LX and CS5536. 2007-01-21 04:59:15 +00:00
isaki 5565c5789b Add AMD Geode LX and CS5536.
Reviewed by tsutsui@ on port-i386.
2007-01-21 04:57:50 +00:00
christos 6b98a17401 - If the filesystem lives on a wedge, then we try to get wedge information
since DIOCGPART is going to fail. Unfortunately there is no way to get the
  geometry information we need from the wedge; it would be nice for wedges
  to support a geometry ioctl. The values we cannot retrieve are marked with
  XXX.
- Add a lot more debugging.
2007-01-20 23:34:09 +00:00
bouyer 89b7593e6a Xen3 linux guests seems to loan a lot of pages for some disk transfers,
and eventually run out of XENSHM_NPAGES for a single transfers.
Bump XENSHM_NPAGES by 10 for xen3 to avoid deadlocks in such case.
2007-01-20 22:01:06 +00:00
he ceeb812c89 Unify the declaration of OF_interpret() between sparc{,64} and macppc
by adding the "nargs" argument to the macppc version, and fix the macppc
ports uses of OF_interpret() accordingly.

Also move the declaration of OF_interpt() from macppc's autoconf.h to
ofw/openfirm.h.  This fixes the build of the macppc port.

Approved by macallan@.
2007-01-20 21:42:12 +00:00
ad c89ec7afee pushinit(): fix a use-after-free bug. 2007-01-20 21:16:23 +00:00
xtraeme dade97a1c0 Do not attach this driver if idhi and idlo are the same frequency,
I've seen that in some Intel Core Duo CPUs.
2007-01-20 20:24:13 +00:00
xtraeme 614a7d1ec6 Remove extra '()' around the string 'MHz'. 2007-01-20 20:19:36 +00:00
ad 6731126f33 From FreeBSD: add the RB_PROTOTYPE_STATIC and RB_GENERATE_STATIC macros. 2007-01-20 20:15:13 +00:00
ad 7630e3876c pthread_create(): clear newthread->pt_sleeponq before calling _lwp_create(). 2007-01-20 20:02:36 +00:00
ad 75922662e1 Correctly seperate different events for the same type of lock. 2007-01-20 20:01:03 +00:00
ad 965759e2d5 Remove long unused 'ncallout'. 2007-01-20 20:00:13 +00:00
ad 1a6c900ae4 Disable the conddestroy1 test. IEEE Std 1003.1, 2004 Edition says:
If a signal is delivered to a thread waiting for a condition
     variable, upon return from the signal handler the thread resumes
     waiting for the condition variable as if it was not interrupted,
     or it shall return zero due to spurious wakeup.
2007-01-20 19:40:06 +00:00
christos 14eb5e3c17 change count from 5M to 50000 2007-01-20 19:22:29 +00:00
christos 9dffc0237c change 5M to 50000; add more printfs. 2007-01-20 19:21:18 +00:00
christos 42d6b7198b Add casts to pacify lint 2007-01-20 18:59:01 +00:00
christos 1eb6e5fbb2 add casts to pacify lint. 2007-01-20 18:58:11 +00:00
christos 25a0745d2e remove unused variable/code. 2007-01-20 18:57:41 +00:00
christos d1ddfe10b1 fix warning about indirect call without * 2007-01-20 18:56:30 +00:00
xtraeme a3252760bc viaenv(4) does not need anymore viapm. 2007-01-20 18:48:17 +00:00
xtraeme a4423f177a Updated viaenv(4) driver:
* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
  VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.
2007-01-20 18:44:26 +00:00
xtraeme af41d0fea7 Merge defs from ugvar2.h into ugvar.h, suggested by tsutsui. 2007-01-20 18:32:41 +00:00
tsutsui 4ca9d9a7ce Note nfe(4) hardware checksum support. 2007-01-20 18:19:52 +00:00