Commit Graph

104936 Commits

Author SHA1 Message Date
mbr
1d02c85a0c Add some unneeded files to the Xlist in preparation for the new
amd import.
2004-07-06 12:52:27 +00:00
des
eeca8a3875 Push WARNS back up to 6, but define NO_WERROR; I want the warts out in the
open where people can see them and hopefully fix them.
2004-07-06 12:15:24 +00:00
des
0dd557afb2 Introduce inline {ip,udp,tcp}_next() functions which take a pointer to an
{ip,udp,tcp} header and return a void * pointing to the payload (i.e. the
first byte past the end of the header and any required padding).  Use them
consistently throughout libalias to a) reduce code duplication, b) improve
code legibility, c) get rid of a bunch of alignment warnings.
2004-07-06 12:13:28 +00:00
grehan
9dd6a73105 - trailing white-space cleanup
- add call to thread_user_enter for P_SA processes before
  trap processing ala all other arches
2004-07-06 11:46:56 +00:00
alfred
c4f768dfa5 use vfs_suser() to restrict access to the nfs mount's timeout. 2004-07-06 09:40:44 +00:00
alfred
f22bf0318c Use vfs_suser() where appropriate. 2004-07-06 09:39:32 +00:00
alfred
42ae203595 Introduce vfs_suser(), used to test if a user should have special privs
for a mount.
2004-07-06 09:37:43 +00:00
alfred
525d886dc1 NFS mobility Phase VI:
Export NFS mount state via sysctl.
Export timeout via sysctl.
2004-07-06 09:23:17 +00:00
des
6b2fe3dfab Rewrite twowords() to access its argument through a char pointer and not
a short pointer.  The previous implementation seems to be in a gray zone
of the C standard, and GCC generates incorrect code for it at -O2 or
higher on some platforms.
2004-07-06 09:22:18 +00:00
tjr
8f2d56af88 Document incorrect handling of multibyte characters. 2004-07-06 09:20:51 +00:00
alfred
091d7fe929 NFS mobility PHASE I, II & III (phase VI, and V pending):
Rebind the client socket when we experience a timeout.  This fixes
the case where our IP changes for some reason.

Signal a VFS event when NFS transitions from up to down and vice
versa.

Add a placeholder vfs_sysctl where we will put status reporting
shortly.

Also:
Make down NFS mounts return EIO instead of EINTR when there is a
soft timeout or force unmount in progress.
2004-07-06 09:12:03 +00:00
des
dc511cd889 Temporarily lower WARNS to 3 while I figure out the alignment issues on
alpha.
2004-07-06 08:44:41 +00:00
ru
c3701aee24 Tiny markup fixes. 2004-07-06 08:21:12 +00:00
des
3cd40b99c5 Add an "iso8601" option keyword which causes 'cvs log' etc. to print
dates in ISO 8601 format.

Approved by:	peter
MFC after:	2 weeks
2004-07-06 08:10:38 +00:00
obrien
1fe1756aae In the spirit of amd64/include/stdarg.h rev 1.6; add __va_copy
(but keep it conditional on __ISO_C_VISIBLE >= 1999.

Why?  Our out /usr/src/contrib assumes it, and more than a few ports have
an autoconf that looks for __va_copy because it is available on glibc.
It is critical that we use it on PowerPC.  It generally isn't a problem
for i386 and its ilk because those platforms can get away with cheating
the C standard, using a plain assignment.
2004-07-06 07:47:09 +00:00
tjr
be2e96a33f Use va_copy instead of __va_copy, which is not defined on most architectures.
Noticed by:	obrien
2004-07-06 07:47:04 +00:00
ru
afd2299a60 Fixed markup. 2004-07-06 07:39:50 +00:00
ru
5bcd6d42bb mdoc(7) fixes. 2004-07-06 07:33:49 +00:00
ru
f14a766111 mdoc(7) fixes. 2004-07-06 07:26:23 +00:00
ru
e770561ca6 Correct typos in the function name.
mdoc(7) tweaks.
2004-07-06 07:12:34 +00:00
ru
f3d467d90d Fixed the .Os call (missing or wrong). 2004-07-06 07:02:31 +00:00
ru
8370b7c666 mdoc(7) fixes. 2004-07-06 06:53:42 +00:00
ru
6e6cc76712 Catch up with the new world order of Netgraph metas.
(This one was the last, according to grep(1).)

Submitted by:	Gleb Smirnoff
2004-07-06 06:43:45 +00:00
rwatson
ef2a9bf9b3 Temporarily disable preemption in SCHED_ULE due to reported panics and
hangs due to recent preemption changes.  This change appears to remove
the panic that I was running into, but at the cost of increasing
ithread scheduling latency, and as such is a temporary band-aid until
jhb has a chance to resolve the ule<->preemption interaction that is
the source of the problem.  If it doesn't fix the problem for others--
sorry!
2004-07-06 05:57:29 +00:00
njl
e07e4d7bd0 Use the proper type and then cast on assignment. This fixes warning when
building with -O2.
2004-07-06 04:56:31 +00:00
das
697f040183 Add C99's nearbyint{,f}() functions as wrappers around rint().
These trivial implementations are about 25 times slower than
rint{,f}() on x86 due to the FP environment save/restore.
They should eventually be redone in terms of fegetround() and
bit fiddling.
2004-07-06 04:46:08 +00:00
bms
5a539555e4 Use M_ZERO instead of bzero(). 2004-07-06 03:34:16 +00:00
bms
759bd58379 Be consistent and use bzero() instead of memset(). 2004-07-06 03:29:41 +00:00
bms
802cd43e32 Use M_ZERO instead of memset() (!). 2004-07-06 03:28:24 +00:00
bms
ca41328fc9 Use M_ZERO instead of bzero(). 2004-07-06 03:26:26 +00:00
grehan
1c3670bc0d Add 32-bit framebuffer support. Tested on PearPC at lo-res, too painful
to watch at hi-res.
2004-07-06 03:22:05 +00:00
bms
45d6eefd84 Replace a bzero() after malloc() with M_ZERO. 2004-07-06 03:16:55 +00:00
bms
a41e760809 Style. 2004-07-06 03:07:50 +00:00
bms
c386e356df Eliminate unneeded return keywords. 2004-07-06 02:48:29 +00:00
bms
5d670f6194 Whitespace pass 2004-07-06 02:46:53 +00:00
alc
3c9ca2ad25 Style changes to pmap_extract(). 2004-07-06 02:33:11 +00:00
bms
4ea1c961d3 Properly brucify a string by outdenting it. 2004-07-06 02:27:30 +00:00
ache
058ee08ad0 Remove my email & date 2004-07-06 00:33:52 +00:00
ache
d27647c9a1 Update to match recent import 2004-07-06 00:10:40 +00:00
alc
43e2824622 - Correct pmap_extract()'s return type. It should be vm_paddr_t, not
vm_offset_t.
 - Convert pmap_extract() to the ANSI style of declaration.
2004-07-05 23:18:48 +00:00
das
37bdd6c876 Add implementations of ftw(3) and nftw(3) and the corresponding header
ftw.h.  This is the implementation written by Joel Baker
<fenton@debian.org> for inclusion in NetBSD, but with several
bugfixes.

Obtained from:	Debian
2004-07-05 23:13:16 +00:00
das
f55d02159a Documentation for ftw(3) and nftw(3).
Obtained from:	OpenBSD
2004-07-05 23:12:11 +00:00
alc
68eed6db29 Correct pmap_extract()'s return type. It should be vm_paddr_t, not
vm_offset_t.
2004-07-05 23:08:27 +00:00
bms
42d395e031 Whitespace nit 2004-07-05 22:52:01 +00:00
bms
f6892f6625 Eliminate redundant return keywords. 2004-07-05 22:50:52 +00:00
bms
831eb25765 Whitespace pass. 2004-07-05 22:46:28 +00:00
bms
a4ed8073e8 style(9):
- Space before bracketized non-void function returns.
 - Space before condition for conditional blocks.
2004-07-05 22:42:07 +00:00
bms
a9fffb5465 Eliminate redundant return keywords. 2004-07-05 22:36:48 +00:00
bms
5ffe5e7984 Whitespace nits 2004-07-05 22:35:18 +00:00
bms
22344583d0 style(9) pass on prototypes. 2004-07-05 22:27:26 +00:00