Commit Graph

171465 Commits

Author SHA1 Message Date
isaki 7afa6fc259 struct cfdata -> cfdata_t. 2008-06-25 08:19:37 +00:00
isaki 2830b81add Split device_t/softc. Use aprint*() and device_xname(). 2008-06-25 08:14:59 +00:00
isaki 13450ec873 Cosmetic change. Sort IPL_XXX as described in spl(9). 2008-06-25 07:54:47 +00:00
gmcgarry 499a932afa Revert unintentional whitespace changes. From simonb. 2008-06-25 06:22:01 +00:00
dogcow 0afd84fe2a due to popular demand, /var/lib/postfix -> /var/db/postfix 2008-06-25 05:57:16 +00:00
matt d982b23b25 Nuke MOVED support. Move rb_parent out of rb_nodes and make it it's own
member.
2008-06-25 04:56:08 +00:00
matt f44158c13f Revert last change and just use .WAIT 2008-06-25 03:33:39 +00:00
matt 0ab08b46df Increase RAMDISK size due to ever-increasing bloat. 2008-06-25 03:33:06 +00:00
christos e4992af055 Make rb use masks instead of bitfields, because it is more portable (bitfields
to unsigned long are not portable), and produces tighter code. Tested on
amd64. approved by gimpy.
2008-06-25 03:06:25 +00:00
christos c210eb854d /var/lib/postfix -> /var/db/postfix 2008-06-25 01:36:03 +00:00
christos 872dac48eb /var/lib -> /var/db by popular demand. 2008-06-25 01:32:37 +00:00
gmcgarry 48ff51b31c Bump to 4.99.67 for fsetown()/fgetown() ABI change on 64-bit architectures.
Prompted by Greg Troxel.
2008-06-25 01:09:51 +00:00
scw b47fab2742 In pmap_deactivate(), if the process is exiting make sure the next call
to pmap_activate() performs a full MMU context-switch and cache flush,
which might otherwise be skipped.

Fixes ARM_LOW_VECTORS problem reported in PR port-arm/38950.
2008-06-24 22:00:32 +00:00
chris c0b7259a50 Change $wasabi$ to $NetBSD$ so that we get version info into the file. 2008-06-24 20:19:05 +00:00
drochner 36b6bc746c clean up the cardbus interrupt stuff:
There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed
for the same variable, and that variable is pretty much useless because
cardbus doesn't follow the PCI interrupt swizzling etc scheme.
Useless interrupt numbers were printed on cardbus device attach.
So as a first step to sanity, kill cardbus_intr_handle_t and poison
cardbus_intr_line_t to discourage printing it as a %d.
Use cardbus_intr_line_t consistently throughout the code.
Remove the "interrupting at foo" messages because the information
is misleading. We could come up with a better interrupt vector
information, but because cardbus interrupts are mediated by pccbb
it would still be misleading.
2008-06-24 19:44:51 +00:00
ad 80892cd092 Use pool_cache. 2008-06-24 18:50:30 +00:00
ad 8c5bcce4b9 execve1:
- Properly terminate the fake argument list.
- Fix two double-frees.
2008-06-24 18:04:52 +00:00
drochner 52b8fec3cf clean up some useless code and variables in cardbus attachment 2008-06-24 17:32:09 +00:00
drochner 39ba286079 as in exp(), treat +/-Inf and NaN arguments specially, should fix
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
cegger dfd2a09df6 make this build with SMB_VNODE_DEBUG. makes i386 ALL kernel build again. 2008-06-24 17:04:11 +00:00
ad aefe4cc25a getss -> x86_getss 2008-06-24 16:32:53 +00:00
ad c73fe0bf2d Replace more __asm 2008-06-24 16:30:09 +00:00
ad 28c7c338ce Replace inline assembly. 2008-06-24 16:28:44 +00:00
reinoud 06993e5f51 Make readsymlink bug-tolerant to MacOS X symlink construction bug. It puts
the name ".." on a parent path component. To prevent other similar errors,
name length checking is not done but the passed name that shouldn't be
passed is ignored.
2008-06-24 15:57:13 +00:00
reinoud dc6314f8ae We are not allowed zero length names in softlinks. 2008-06-24 15:42:07 +00:00
reinoud 0cbd9f8bcc Use the new macros defined in ecma167-udf.h and also calculate the extended
attribute header crc check; not just the tag sum.
2008-06-24 15:37:42 +00:00
reinoud a88cc8528f Support the creation of extended attributes for file creation in the
kernel and check and update them when found.

Note that it won't *insert* an extended attribute yet if it hasn't found it
while updating the birthtime.
2008-06-24 15:35:57 +00:00
reinoud 31c0e74b8e If we're fixing up the internal attributes, is it then wise to check if
they are valid first? Might be on the safe side in the end but disabled for
now.
2008-06-24 15:32:52 +00:00
reinoud 826b10cc95 Fix attribute length calculation and fix naming convention. 2008-06-24 15:30:33 +00:00
pooka 3129a376df Fix location of postcall() in ukfs_chdir().
from Arnaud Ysmal
2008-06-24 14:16:37 +00:00
pooka 281bc3d490 retire rumpuser_usleep() in favor of rumpuser_nanosleep() 2008-06-24 14:14:57 +00:00
pooka 441a8c67a3 Make kpause() use nanosleep() instead of usleep(). Fixes >=1s sleeps
to actually sleep a bit too.

from Arnaud Ysmal
2008-06-24 14:11:44 +00:00
ad e7bd22925c A few more POSIX defs for threads. 2008-06-24 14:06:55 +00:00
ad 6d153667e5 pthread_kill, pthread_sigmask: return errno, not the return from the system
call. Found by VSTHlite.
2008-06-24 13:45:07 +00:00
matt 60271c61c4 Need for machine-links to finish before building ${PROG} 2008-06-24 13:02:25 +00:00
he dfcadaa439 Fix alignment of fields for "vmstat -m" when KMEMSTATS are available:
o Make "prop dictionary" fit in the "Type" coloumn
 o Ensure that fields don't run into each other (adds a space between fields)
 o Ensure that a Limit of >100000K fits in the field width
2008-06-24 12:47:23 +00:00
ad a8ced4f0d0 Set up the sysctl tree correctly when loaded as a file system. 2008-06-24 11:25:05 +00:00
ad 9993bc6d33 Nothing uses getsock/getvnode any more. 2008-06-24 11:21:46 +00:00
ad 79873daf65 Make it compile. 2008-06-24 11:20:37 +00:00
ad a00bd89dab Replace references to getsock/getvnode. 2008-06-24 11:18:14 +00:00
gmcgarry 7085b9f922 Array range designated initializers are a gcc extension. Replace with
explicit initialization with zeros, although it probably isn't necessary.
2008-06-24 10:57:45 +00:00
gmcgarry 79fede3354 The forward declation in the parameter list for a variable-length array is
another gcc extension.  Pass the array as a pointer to blob.

See: http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/gcc/Variable-Length.html
2008-06-24 10:55:48 +00:00
gmcgarry 838d34e828 fcntl(4) says the command is type int. lfs_fcntl() comment says u_long. The implementation says int. Synchronise comment with documentation and cast to int before comparison. 2008-06-24 10:47:32 +00:00
jmcneill 72b22f7c71 Define PMAP_FORK -- this was lost in the vmlocking merge, and is required
by options USER_LDT.
2008-06-24 10:42:43 +00:00
gmcgarry 95c7011935 Remove gcc variadic macros with comma elimination. 2008-06-24 10:37:19 +00:00
gmcgarry 4bb1ed1308 ioctl commands are unsigned long. ABI change to mrt6_ioctl() will affect 64-bit platforms. 2008-06-24 10:35:14 +00:00
gmcgarry d2ed2a72ab Replace gcc-style designated initialisers with c99-style. 2008-06-24 10:33:46 +00:00
gmcgarry 43950e78ba Fix uses of #ifdef/#endif inside macro expansions. 2008-06-24 10:33:08 +00:00
gmcgarry ccd9038096 ioctl commands are unsigned long. 2008-06-24 10:32:14 +00:00
gmcgarry 8cead24f2a The conversion to c99-style designated initialisers brought in the gcc
extension of specifying an array range.  Revert to runtime initialization
of limit0.

See here for details: http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
2008-06-24 10:31:05 +00:00