Commit Graph

158962 Commits

Author SHA1 Message Date
pooka d79dbd3583 In case strategy memory allocation for B_ASYNC|B_READ fails,
make sure to release the buf.
2007-05-15 12:48:48 +00:00
christos 5b9bddf888 PR/36319: Michael van Elst: rpcinfo -p requires root privileges
Explicitly chmod 777 the local socket.
2007-05-13 21:19:56 +00:00
fvdl cfcd9426ff Initialize a few PCB fields explicity in more places. 2007-05-13 20:48:23 +00:00
xtraeme 8d72c34523 Don't mention ltsleep(9), it's obsolete. workqueue(9) uses condvar(9). 2007-05-13 20:24:57 +00:00
dsl 2e12e4f4e1 Fallout from caddr_t deletion - remove a load of redundant (void *) casts. 2007-05-13 20:24:21 +00:00
veego 9ec62257da Using ${NETBSDSRCDIR} requires <bsd.own.mk> 2007-05-13 20:22:45 +00:00
christos de327a0164 - WARNS = 4
- De __P
- While starting up, send messages to stderr not syslog.
- Fix error messages
- Don't play with umask and forget to restore it on error
2007-05-13 20:03:46 +00:00
dsl 9bdbb03424 nanosleep1() shouldn't try to get the current time into a NULL address. 2007-05-13 19:51:35 +00:00
mhitch f524750b52 Fix warnings with DEBUG enabled. 2007-05-13 19:24:20 +00:00
tnn da779f39a1 fix typos 2007-05-13 19:02:17 +00:00
xtraeme 50d836969e In DESCRIPTION move the name argument to the proper place, so
that it matches the order specificied in the prototype.
2007-05-13 18:43:50 +00:00
christos 3409f393b9 specify the initial hash parameters so that we don't end up rehashing a
zillion times. Makes this run 50x faster.
2007-05-13 17:43:59 +00:00
christos a14fdbbe78 don't attempt to build the db file if the src file does not exist. 2007-05-13 17:23:56 +00:00
dsl a163d15464 This is deja vu - I fixed this earlier....
No need to use stackgap for ioctl to get PTM name, directly call file's
ioctl function with kernel buffer.
2007-05-13 16:04:00 +00:00
tron 5ab39134be Note that BIND 9.4.1 has been imported. 2007-05-13 15:59:00 +00:00
dsl 10b01b226a There is no need to copy data out to userspace when its address is being
passed to the driver as the ioctl 'data' argument.
Change boths parts to expect a kernel memory buffer.
2007-05-13 15:57:39 +00:00
dsl 06b3498b98 Fix compilation 2007-05-13 15:56:17 +00:00
dsl dc41e5b5bd Change the way the irix 32bit signal mask request is done to avoid the
stackgap.  I'm actually susre this code is buggy, possibly slightly less
so than before.
2007-05-13 15:39:29 +00:00
dsl 959f589c73 This code is already set for directly calling a files ioctl fn with a
kernel buffer - so why not use it when getting the slave pty number.
2007-05-13 15:38:14 +00:00
dsl 9e2165cbd3 Time functions have had wrappers for ~ages, no need for the stackgap gere. 2007-05-13 14:47:54 +00:00
dsl f23edc42dd Instead of the #define versions of tc_getfrequency() and nanouptime(), use
the function ones in kern_kern_clock.c (adding tc_getfrequency).
Adjust includes so this builds.
2007-05-13 14:43:52 +00:00
he eaf1c9f7c3 Bump SYMTAB_SPACE so that it fits again. 2007-05-13 14:18:57 +00:00
christos 4ef5a01a14 PR/36313: Juergen Hannken-Illjes: Change the name "rpcbind" to "sunrpc"
which is used in the new services.
2007-05-13 13:38:29 +00:00
yamt 4d3b7e04c8 use a cached value of v_size. no functional changes. 2007-05-13 13:11:53 +00:00
dsl b8cecbd5b3 Delete fom stackgap lines that seem to have got left in. 2007-05-13 11:06:41 +00:00
dsl 2cc0d0a9c4 Stop using the stackgap for time functions. 2007-05-13 11:04:11 +00:00
dsl 9a585a457d Stop using the stackgap for timer functions, fcntl locks and FIONREAD ioctl.
Add code for X_LK_RLCK - seemed to be absent!
2007-05-13 11:03:06 +00:00
dsl 88e6c5604d Add a #define for nanouptime() in the !__HAVE_TIMECOUNTERS case. 2007-05-13 10:58:50 +00:00
dsl 1c85a3efd8 Split sys_nanosleep(). 2007-05-13 10:34:25 +00:00
dsl d4540f5b2a Call sigaltstack1() directly instead of using the stackgap to call
sys___sigaltstack14().
Prototype up some code under #if 0 to use sigaction1().
2007-05-13 09:07:25 +00:00
dsl 0a4e8a3014 Remove the stackgap from some more flockking code.
Note that I've removed the bug where this code 'forgot' to use copyin/out
for the stackgap buffers.
2007-05-13 08:38:34 +00:00
he 555e8fd330 Bump SYMTAB_SPACE so that it fits again. 2007-05-13 08:26:21 +00:00
dsl e3b7b0151e Rework the svr4_32 fcntl support (again).
Make the same changes to the svr4 code.
Add some 'missing' simple_unlock(&fp->f_slock) to the svr4_32 version of this
code. These files now compare if feed the svr4_32 copy though:
	sed -e 's/4_32/4/g;s/_P32//g'
Note in passing that the code paths that call simple_unlock(&fp->f_slock)
are completely broken.
2007-05-13 08:14:06 +00:00
pavel 54d08e04eb remove the ipf 4.1.19 entry since we have 4.1.20 in CHNAGES.prev. 2007-05-13 07:00:41 +00:00
pavel 1c83c3880f fix grammar. 2007-05-13 06:59:17 +00:00
pavel 91e7249e1a move "ug at acpi" change to CHANGES.prev (ticket 633). 2007-05-13 06:58:16 +00:00
kent f5cb63973e Add PCI_SUBCLASS_MULTIMEDIA_HDAUDIO to pcireg.h
and azalia(4) uses it
2007-05-13 03:30:46 +00:00
kent c3b41473a8 * stac9221_gpio_unmute()
The target node should be the audio function group, not 0.
  Pointed out by Deanna Phillips

* stac9221_mixer_init()
  Enable GPIO unmute for Intel Macintosh
2007-05-13 03:28:19 +00:00
dsl 701496b5c6 Split the fcntl locking code out from its copyin/out.
Use to avoid all the stackgap stuff in compat code.
2007-05-12 23:02:49 +00:00
uwe 374def6c7e Sync with GENERIC 1.197 2007-05-12 22:44:45 +00:00
dsl 8beba9d093 There is no need to use the stackgap for get/setrlimit. 2007-05-12 21:07:02 +00:00
christos 058554bbc4 amd64 kern.ldscript can handle notes now 2007-05-12 21:00:00 +00:00
christos cb03f90c19 convert to a very simple kern.ldscript 2007-05-12 20:59:19 +00:00
pavel 9467b9a9ba add "DEC 3000" to the alpha section, to make clear to what machines does
it apply.
2007-05-12 20:46:33 +00:00
dsl ef3fdc4a07 Change interface to settimeofday1() so that it can also be used from
compat code in order to avoid the stackgap.
2007-05-12 20:27:13 +00:00
dsl dd490a6f18 Get rusage directly, not via 64bit linux call and stackgap. 2007-05-12 20:24:54 +00:00
dsl a08b772cae Fix comment and indent. 2007-05-12 20:23:36 +00:00
dsl c0ac33ed01 Remember to call calcru() before using the rusage values. 2007-05-12 18:10:20 +00:00
mhitch 2aacb7ab4a Changes to enable support of 8K pagesize. 2007-05-12 17:43:53 +00:00
dsl c83f8a10ad Change the compat sys_[fl]utime code to not use the stackgap. 2007-05-12 17:28:19 +00:00