Commit Graph

171226 Commits

Author SHA1 Message Date
tsutsui
5ff92ba4da Regen from syscalls.master rev 1.62:
> Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
2008-06-18 12:23:06 +00:00
tsutsui
181592d5b7 Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t. 2008-06-18 12:21:20 +00:00
yamt
fff57c5525 merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@.  requested by core@
2008-06-18 09:06:25 +00:00
wiz
bf3ddb193b Bump date for previous. 2008-06-18 07:40:16 +00:00
mgrooms
93c1205f96 Add an admin port command to retrieve the peer certificate. Submitted by Timo Teras. 2008-06-18 07:12:04 +00:00
mgrooms
c47cb1615c Add an admin port command to retrieve the peer certificate. Submitted by
Timmo Teras.
2008-06-18 07:12:03 +00:00
mgrooms
01e8cc1e5d Set sockets to be closed on exec to avoid potential file descriptor inheritance issues. Submitted by Timo Teras. 2008-06-18 07:04:23 +00:00
mgrooms
5d397c5ba5 Set sockets to be closed on exec to avoid potential file descriptor
inheritance issues. Submitted by Timmo Teras.
2008-06-18 07:04:22 +00:00
mgrooms
7598372e37 Use utility functions to evaluate and manipulate network port values. No functional changes. Submitted by Timo Teras. 2008-06-18 06:47:25 +00:00
mgrooms
2c40396f3a Use utility functions to evaluate or manipulate network port values. No
functional changes. Submitted by Timmo Teras.
2008-06-18 06:47:24 +00:00
mgrooms
7dac642960 Admin port code cleanup. No functional changes. Submitted by Timo Teras. 2008-06-18 06:27:49 +00:00
mgrooms
18fc645e9a Admin port code cleanup. No functional changes. Submitted by Timmo Teras. 2008-06-18 06:27:48 +00:00
mgrooms
9345b05cc4 Correct a phase2 status event. Submitted by Timo Teras. 2008-06-18 06:11:38 +00:00
mgrooms
b163716d45 Correct a phase2 status event. Submitted by Timmo Teras. 2008-06-18 06:11:37 +00:00
dogcow
8b20d17adf Regen. 2008-06-18 02:09:19 +00:00
dogcow
f76aab4a72 include sys/sched.h for cpuset-related build lossage 2008-06-18 02:08:36 +00:00
dogcow
5b52b73c21 add a missing close-parenthesis. (HI CEGGER!) 2008-06-18 01:10:11 +00:00
he
bd8aa5583f Use a local temporary struct gt_softc* so we don't try to
de-reference void*.  Restores buildability of this file.
2008-06-17 22:41:30 +00:00
ad
75360c7716 Use UVM_OBJ_INIT/DESTROY. 2008-06-17 21:55:49 +00:00
thorpej
e0e4b153c9 _prop_rb_tree_insert_node() now returns true/false to indicate if the
insertion succeeded.  Update existing usage that arranges for insertions
to always succeed to assert that they do.
2008-06-17 21:29:47 +00:00
he
b612638bbf Add some missing parenthesis to restore this to a buildable state. 2008-06-17 21:08:08 +00:00
he
d2ac1fe5bb Correct minor mistakes and restore this to a buildable state. 2008-06-17 21:06:57 +00:00
christos
ffabbaf7c6 set mtime/atime properly, not backwards. 2008-06-17 21:02:08 +00:00
he
5215d37e0a Remove now unused local "unit" variable, so this builds again. 2008-06-17 19:47:49 +00:00
he
f7db963671 Add a missing parenthesis so that this builds again. 2008-06-17 19:46:23 +00:00
mlelstv
76a664c61a Drop !cv_has_waiters assertion.
bdirty() is called from within biodone() processing before
waiters have been woken up and removed.

N.B. it is also used by smbfs.
2008-06-17 19:14:14 +00:00
tsutsui
3de743094e No need to terminate DMA in si_dma_poll(). 2008-06-17 18:24:21 +00:00
christos
f498c90335 PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
the birthtime. Text from FreeBSD.
2008-06-17 17:46:40 +00:00
tsutsui
36bc2e34d4 Implement si_dma_poll() properly so that crashdump works with DMA xfer. 2008-06-17 17:31:51 +00:00
phx
9645c1f1c1 Renamed via_pegasos_mapregs_native to via_mapregs_compat_native, after
discussion with simonb. There may be other architectures who want to use
this function.
2008-06-17 17:03:14 +00:00
he
bc897d8e45 Typo correction to restore buildability. 2008-06-17 16:27:30 +00:00
christos
f5be32608a PR/38942: Pedro F. Giffuni: no support for birthtime in utimes(2). 2008-06-17 16:18:01 +00:00
tsutsui
d7d2a525b1 Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t. 2008-06-17 16:17:21 +00:00
tsutsui
57b3a1930e Regen from syscalls.master rev 1.204. 2008-06-17 16:13:37 +00:00
he
f776c48636 <sys/syscallargs.h> now needs <sys/sched.h> included for the cpuset_t type
declaragion, so comply with that so that this builds again.
2008-06-17 16:13:08 +00:00
tsutsui
2bc3b0c694 Regen from syscalls.master rev 1.204:
> Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
2008-06-17 16:07:57 +00:00
tsutsui
33dfc34006 Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t. 2008-06-17 16:05:23 +00:00
christos
8b0443fdbf From skd: Delete kernel_floor tests. They don't make sense on amd64. 2008-06-17 15:54:45 +00:00
mlelstv
cc60ba374c fix copy&paste error 2008-06-17 15:05:15 +00:00
mlelstv
b0199ee162 One more place to mark an iobuf busy before use. 2008-06-17 15:04:12 +00:00
reinoud
f6a70673ba Mark a buffer busy in getnewbuf() when it came from the pool_cache since
its not on a free list.

Also change buf_init() to not automatically mark buffers `busy' since this
only makes sense for bufcache buffers.

Mark all buf_init'd buffers 'busy' on the places where they ought to be
flagged as such to not confuse the buffer cache.

Fixes PR 38923.
2008-06-17 14:53:10 +00:00
reinoud
a61f3416a6 Change comments on marking buffer busy. 2008-06-17 14:14:05 +00:00
cube
c0bb1f4b42 Use MUTEX_DEFAULT to initialise the mutex, per martin@'s input. 2008-06-17 12:59:32 +00:00
yamt
aca97ea3b6 yamt-pf42-base4 2008-06-17 11:37:35 +00:00
ad
4810cbe2bf sleepq_block: add a comment. 2008-06-17 09:11:25 +00:00
ad
629b15f463 Update a comment. 2008-06-17 09:08:52 +00:00
cegger
d9fad28f12 Disable the check introduced in rev. 1.184. It works in first place, but not in second place.
The new check is not enough to detect sparse files reliably.
per discussion with bouyer
2008-06-17 09:01:56 +00:00
chris
464e92d443 Fix two KASSERT(value | (C1|C2)) to KASSERT(value & (C1|C2)) so that it
tests for something, rather than always being true.

Pointed out by Andy Shevchenko in:
http://mail-index.netbsd.org/port-arm/2008/06/17/msg000255.html
2008-06-17 08:04:26 +00:00
mlelstv
2f1d68867c add rnd(4) hooks. Note that interrupts on bge hardware may occur
with certain patterns, especially when the interrupt mitigation
logic kicks in. So this might be a very weak entropy source.
2008-06-17 06:08:46 +00:00
mlelstv
f1f0ceb1ae No longer try to start sending packets from status change handler.
This is already handled by the general status change code.

For non-TBI devices always call mii_tick(). This fixes ifwatchd
signalling.
2008-06-17 06:04:07 +00:00