dsl
6111df536a
Remove stackgap use:
...
osf1_sys_select() calls selcommon().
osf1_sys_readv() and writev() read the iov into kernel memory then call
do_filereadv/writev().
KNF.
2007-06-17 19:50:01 +00:00
dsl
4f7a91fae3
Do the sysv ipc calls without the stackgap.
...
Only the SET and STAT operations have a buffer arg - so don't xlat
the buffer for the other commands.
2007-06-17 18:54:20 +00:00
pooka
0031e99f45
ident is now of type wchan_t
2007-06-17 18:50:07 +00:00
dsl
c99470165c
Do the sysv ipc calls without the stackgap.
...
Only the SET and STAT operations have a buffer arg - so don't xlat
onbe for teh other commands.
2007-06-17 18:32:14 +00:00
dsl
c271f319e5
Do the sysv ipc calls without the stackgap.
2007-06-17 18:17:46 +00:00
dsl
8ef23ff995
Directly call the relevant system support routines instead of going via
...
the compat_10 and compat_14 functions - makes the code neater and, removes
many data copies and also removes the stackgap use.
Also (indirectly) fixes some code paths that fotgot to do copyin/out.
2007-06-17 16:32:51 +00:00
yamt
c69798c4e6
periodically resize vmem hash table.
2007-06-17 13:34:42 +00:00
rmind
5fd6c5db8f
- Add aio_fsync(3) manual page. Reviewed and improved by <wiz>.
...
- Also, fix the accident duplicate of aio_suspend(3) entry.
2007-06-17 12:47:40 +00:00
dsl
27aa94d0d3
Use get_semctl_arg() here instead of the switch statement.
2007-06-17 10:27:16 +00:00
dsl
353f1bdbac
Call semctl1() directly, not via stackgap and compat_14_sys___semctl().
2007-06-17 10:24:21 +00:00
dsl
82cfad02f8
Expose semid_ds14_to_native() to otherparts of the system.
...
Don't leak kernel stack back to userspace.
2007-06-17 10:23:27 +00:00
dsl
5ff680264f
Add a define to reduce the source size of the various callers of semctl1()
2007-06-17 10:21:25 +00:00
martin
0d8033bf02
(Re-)add a missing cast in an #if part not used in current, but needed
...
for netbsd-4.
2007-06-17 09:32:34 +00:00
tsutsui
73b3a64df4
Move declaretions of _spl*() and _{clr,set}softintr() functions
...
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
2007-06-17 06:04:27 +00:00
tsutsui
18635db91f
- add a declaration of apbus_wbflush() in apbusvar.h
...
- include <mips/locore.h> for mips3_wbflush()
- undef wbflush() macro before declaration of local inlined wbflush()
2007-06-17 05:53:01 +00:00
ad
a5210c2d29
opt_i2o.h is gone.
2007-06-16 23:26:04 +00:00
agc
ad9b63f6fb
Move my own code from a 4 clause to a 3 clause licence.
2007-06-16 23:13:25 +00:00
dsl
879c84a74d
The code to directly call sigaction1() and sigaltstack1() is much shorter
...
than the mess required to call the compat_43_xxx functions.
2007-06-16 22:31:08 +00:00
dsl
0699e1c8bf
Move the point at which sys_readv and sys_preadv (and writev) get merged
...
so that the same common code can be used with a kernel-resident 'iov'
array from the 32-bit compat code (which currently has its own copy
of these routines.
2007-06-16 20:48:03 +00:00
dsl
fdcf6a681a
Put the argument to '#if defined' in ().
...
The C standard allows either form, but we normally treat 'defined' as
a function, not an operator.
2007-06-16 20:06:52 +00:00
dsl
ec918d6dc6
Modify the (recently added) compat_sigaltstack() #define to take the
...
values of the SS_ONSTACK and SS_DISABLE constants.
Use it to shorten the source files when this action is replicated.
Actually, given the monstrous complexity of sigaltstack1() there is
probably a much better way to do this...
2007-06-16 20:04:27 +00:00
dsl
5977ce1bd5
Remove a spare 'timeval' structure - makes this version of this function
...
match some of the other copies lurking in the world of compat.
2007-06-16 19:55:26 +00:00
dsl
8e418a4b13
Delete stuff in comment about use of stackgap.
2007-06-16 19:54:02 +00:00
dsl
53bf780833
Under DEBUG(VAR) report when the variable wasn't found.
...
Disposes of pr bin/15842
2007-06-16 19:47:29 +00:00
christos
c659aeb199
Unwedge the previous change. Always increment the number of rawopens if the
...
open is successful.
2007-06-16 18:11:33 +00:00
ad
bd348e7971
-options I2OVERBOSE.
2007-06-16 12:35:54 +00:00
ad
e5bca80a53
- Merge changes from the vmlocking branch.
...
- Eliminate opt_i2o.h, since I2OVERBOSE is gone.
2007-06-16 12:32:12 +00:00
kiyohara
62ad7214e7
Change transfer size to 64byte. When the transfer size is 4096 bytes, it
...
is not likely to be able to transfer it.
2007-06-16 11:27:40 +00:00
kiyohara
c3234fb8d7
We occasionally access the register from two or more processes. Please
...
use the simple-queue.
2007-06-16 11:18:45 +00:00
kiyohara
cc7db3d88b
splnet() is called earlier than bpf_mtap2().
2007-06-16 11:09:31 +00:00
kiyohara
b89e8f1348
Remove multiple bpfdetach().
2007-06-16 11:02:19 +00:00
martin
e466a70bf8
Note update of IPF to v4.1.23
2007-06-16 10:53:58 +00:00
martin
c77a3f5aad
Upgraded IPFilter to v4.1.23
2007-06-16 10:52:24 +00:00
martin
03f2531d69
Import IPFilter 4.1.23
2007-06-16 10:33:08 +00:00
pavel
54cbd184a2
Correct format strings for ptrdiff_t and size_t arguments in DPRINTFs,
...
so that a kernel with AUDIO_DEBUG builds.
2007-06-16 10:25:03 +00:00
agc
bcf774971d
Re-generate autoconf parts.
...
No change to NetBSD distribution, since it is made using reachover Makefiles.
2007-06-16 10:02:23 +00:00
dsainty
dc8d3a6ad6
Regen.
2007-06-16 09:43:35 +00:00
dsainty
68141d1a5e
Add Silicon Integrated Systems 163U 802.11g Wireless LAN Adapter
2007-06-16 09:42:17 +00:00
tsutsui
e0cf438211
Correct declarations spl*() functions.
...
XXX: these should be moved into <mips/locore.h> or elsewhere.
2007-06-16 08:47:47 +00:00
jmcneill
04957ab308
Note glxsb(4) import.
2007-06-15 23:17:29 +00:00
jmcneill
16316e7848
Enable glxsb(4)
2007-06-15 23:05:28 +00:00
jmcneill
5ceea27797
Add man page for AMD Geode LX AES Security Block driver.
2007-06-15 23:04:20 +00:00
jmcneill
f269d91119
Import driver for the AMD Geode LX AES Security Block, from OpenBSD. The
...
glxsb(4) driver provides random numbers and AES acceleration.
2007-06-15 23:02:20 +00:00
jmcneill
b52635a353
Add VT6105M (Rhine III) to the list of supported devices, as found in the
...
Soekris net5501.
2007-06-15 21:08:21 +00:00
ad
a2884738ea
Nuke __HAVE_SPLBIGLOCK.
2007-06-15 20:59:38 +00:00
ad
029f4f9cd7
splstatclock, spllock -> splhigh
2007-06-15 20:17:07 +00:00
agc
e6bf177ae1
Apply the fix from PR 36354, from yamt.
...
yamt's reading of RFC 3720 is correct (see section 12.10, InitialR2T).
The desired transfer length in the initial ready to transmit
negotiation should not include any immediate data.
2007-06-15 19:57:30 +00:00
christos
33da203dba
KNF, from Anon Ymous. Also kill extra unneeded initializers and use size_t
...
for indexes.
2007-06-15 19:47:59 +00:00
dyoung
119721c126
Use %zu format for size_t.
2007-06-15 19:06:09 +00:00
ad
bd5831ff06
proc_free: avoid a potential race where we could free struct proc before
...
the last LWP in the process is off the CPU. Noted by yamt@.
2007-06-15 18:29:53 +00:00