Hajimu UMEMOTO
c706c1cddc
- port numbers are unsigned. use %u.
...
- %d is not 10 chars, but 12 chars.
Obtained from: KAME
MFC after: 1 week
2003-08-18 15:58:23 +00:00
Hajimu UMEMOTO
651555cc54
explicitly specify IPPROTO_UDP when calling getaddrinfo().
...
Obtained from: KAME
MFC after: 1 week
2003-08-18 15:54:08 +00:00
Hajimu UMEMOTO
16dd7c128d
remove a variable that is never used.
...
Obtained from: KAME
MFC after: 1 week
2003-08-18 15:47:17 +00:00
Hajimu UMEMOTO
7b01856526
support poll(2).
...
Obtained from: KAME
MFC after: 1 week
2003-08-18 15:35:33 +00:00
David E. O'Brien
7ac81ce4b8
style.Makefile(5)
2003-08-18 15:35:18 +00:00
David E. O'Brien
df171de056
include <bsd.own.mk> to get BIN{OWN,GRP}
2003-08-18 15:33:08 +00:00
David E. O'Brien
8d0486e2f4
Restore vendor ID's.
...
Requested by: bde
2003-08-18 15:32:16 +00:00
Bruce M Simpson
cc37381f9f
Add the manual page for the sab(4) driver. Driver code was originally
...
obtained from NetBSD. This is the OpenBSD version of the manual page with
a few fixes.
Approved by: jake (mentor)
Obtained from: OpenBSD
2003-08-18 15:32:02 +00:00
David E. O'Brien
4f4a104ee8
style.Makefile(5)
2003-08-18 15:25:39 +00:00
Hajimu UMEMOTO
ed7ac91c5f
- don't select with FD_SETSIZE.
...
- avoid fd_set overrun.
Obtained from: KAME
MFC after: 1 week
2003-08-18 15:24:32 +00:00
Dag-Erling Smørgrav
653fae1761
Rework pfs_iterate() a bit to eliminate a bug related to process
...
directories. Previously, pfs_iterate() would return -1 when it
reached the end of the process list while processing a process
directory node, even if the parent directory contained further nodes
(which is the case for the linprocfs root directory, where the process
directory node is actually first in the list). With this patch,
pfs_iterate() will continue to traverse the parent directory's node
list after exhausting the process list (as was the intention all
along). The code should hopefully be easier to read as well.
While I'm here, have pfs_iterate() assert that the allproc lock is
held.
2003-08-18 13:36:09 +00:00
Dag-Erling Smørgrav
9a69494e8b
Whitespace cleanup.
2003-08-18 13:30:15 +00:00
Poul-Henning Kamp
a21af19141
In case of zero span data supress the histogram plot.
2003-08-18 11:13:19 +00:00
David Xu
962eaaf9d6
Direct call exit if thread was never created. This makes it safe to call
...
pthread_exit in main() without creating any thread.
Tessted by: deischen
2003-08-18 04:03:08 +00:00
David Xu
e81bbed597
Treat initial thread as scope system thread when KSE mode is not activated
...
yet, so we can protect some locking code from being interrupted by signal
handling. When KSE mode is turned on, reset the thread flag to scope process
except we are running in 1:1 mode which we needn't turn it off.
Also remove some unused member variables in structure kse.
Tested by: deischen
2003-08-18 03:58:29 +00:00
Warner Losh
da245931e3
Put the clearing of the socket cd interrupt and setting of it under
...
protection of sc->mtx. Sometimes multiple insert/ejections could
cause further insertion/removals to not happen due to racing an ISR...
2003-08-18 03:15:44 +00:00
Warner Losh
4aef3fb1c3
Put a band-aide(tm) on the CIS panic problem. This is a similar fix
...
to what is in NetBSD. I have a few cards that tickles this bug, and
this just keeps us from panicing. It doesn't actually fix the problem
(that will happen once I figure out why some cards hate the address
their CIS is mapped to high memory).
2003-08-18 03:07:09 +00:00
Alan Cox
ef13663bb6
Three unrelated changes to vm_proc_new(): (1) add vm object locking on the
...
U pages object; (2) reorganize such that the U pages object is created and
filled in one block; and (3) remove an unnecessary clearing of PG_ZERO.
2003-08-18 01:31:43 +00:00
David E. O'Brien
a37fe9e7cd
Don't hardcode owner 'root' and group 'wheel'.
...
Submitted by: Ulrich Spoerlein <q@uni.de>
2003-08-18 00:36:31 +00:00
David E. O'Brien
4270213c2a
Fix typo.
...
Submitted by: Ulrich Spoerlein <q@uni.de>
2003-08-18 00:33:35 +00:00
Gordon Tetlow
b20654d416
When creating .so symlinks, use SHLIBDIR instead of LIBDIR so symlinks
...
are created in the correct location. Always make them. For libraries
that live in /lib, this causes a /lib/libfoo.so and a compatibility
/usr/lib/libfoo.so to be created. We may want to drop the
/usr/lib/libfoo.so symlink at some future point.
2003-08-17 23:56:29 +00:00
Poul-Henning Kamp
29796304f8
Do not call VOP_BMAP() on our own vnodes.
...
It is particularly silly when all it does is a minor piece of math.
2003-08-17 23:00:30 +00:00
Alan Cox
90ca070d69
Acquire the pte object's mutex when performing vm_page_grab(). Note: It is
...
my long-term objective to eliminate the pte object. In the near term, this
does, however, enable the addition of some vm object locking assertions.
2003-08-17 22:27:30 +00:00
Gordon Tetlow
df7bdd0ae9
Forgot one instance of ld-elf.so.1. Convert to ${PROG}
...
Pointed out by: obrien
2003-08-17 22:12:26 +00:00
David E. O'Brien
21df0f6f8f
Stage 3 of dynamic root support, con't.
...
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
David E. O'Brien
34f8bdbf6a
s/x86_64/amd64/g where possible.
2003-08-17 20:53:21 +00:00
Poul-Henning Kamp
b103854847
Don't use a VOP_*() function on our own vnodes, go directly to the
...
relevant internal function, in this case ufs_bmaparray().
2003-08-17 19:26:03 +00:00
Paul Saab
f53579cfaa
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
2003-08-17 19:14:02 +00:00
Gordon Tetlow
dbbcd515ff
Don't forget to honor DESTDIR. Also switch over to using PROG instead of
...
the binary name directly.
2003-08-17 18:59:30 +00:00
Poul-Henning Kamp
ec7948490b
Use NULL for 3rd argument of VOP_BMAP() rather than custom cast.
...
Eliminate unused variable.
2003-08-17 18:54:23 +00:00
Gordon Tetlow
a857d9305c
Don't forget to chflags noschg the existing binary so we can symlink
...
over it safely.
Pointed out by: yosimoto@waishi.jp
2003-08-17 18:50:56 +00:00
Hajimu UMEMOTO
b18ac9358c
- don't print strerror() if errno == 0 on fatal().
...
- va_start/end audit.
- can't use vfprintf() twice. need va_start/end pair every time.
Obtained from: KAME
MFC after: 1 week
2003-08-17 18:35:56 +00:00
Hajimu UMEMOTO
4776b349ce
- do not SEGV on IFF_UP.
...
- recover rrt_gw setting for non-p2p case. otherwise, we will not
be able to recover interface route on interface down -> up
transition.
- clarify loop exit condition
Obtained from: KAME
MFC after: 1 week
2003-08-17 18:12:11 +00:00
Hajimu UMEMOTO
6b036f549c
do not send dump request on -N
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 17:51:30 +00:00
Hajimu UMEMOTO
ceb128190f
macro pedant
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 17:47:22 +00:00
Hajimu UMEMOTO
70aff8bf47
minor cleanup; no need for extra variable here
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 17:40:47 +00:00
Hajimu UMEMOTO
691ab711fb
use strchr(3).
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 17:34:09 +00:00
Hajimu UMEMOTO
532ba48e39
daemon() has to be called prior to file descriptor setups
...
(otherwise file descriptors could be closed mistakenly)
Obtained from: KAME
MFC after: 1 week
2003-08-17 17:29:54 +00:00
Hajimu UMEMOTO
8a92d72c44
getifaddrs(3) is always used.
...
MFC after: 1 week
2003-08-17 17:21:00 +00:00
Hajimu UMEMOTO
05d7208ae7
knf, typo, space.
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 16:26:35 +00:00
Hajimu UMEMOTO
65033d4fcb
set IPV6_V6ONLY.
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 16:08:56 +00:00
Hajimu UMEMOTO
1dd7cfc46f
- die if malloc fails.
...
- use strlcpy.
Obtained from: KAME
MFC after: 1 week
2003-08-17 16:07:57 +00:00
Hajimu UMEMOTO
be71e4ad8a
use strncpy
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 16:06:52 +00:00
Hajimu UMEMOTO
4c4ac8c03d
"sin" is a reserved C library function name. use sin6
...
Obtained from: KAME
MFC after: 1 week
2003-08-17 16:05:49 +00:00
Hajimu UMEMOTO
e5a9696004
We don't need __ss hack.
...
MFC after: 1 week
2003-08-17 16:03:58 +00:00
Poul-Henning Kamp
d2d0b14453
It is not an error to have no devices.
2003-08-17 12:06:44 +00:00
Poul-Henning Kamp
037c3d0fb0
It is not an error to have no devices in the kernel: Return the
...
generation number and start it from one instead of zero.
2003-08-17 12:06:19 +00:00
Hajimu UMEMOTO
96316581fc
backout 1.11. ifname in struct ifreq should be copyed by strncpy.
...
Pointed out by: itojun
2003-08-17 11:54:58 +00:00
Hajimu UMEMOTO
9a364ca35a
- improved the -a option. it can probe a interface automatically when
...
the interface wake up. it can be started anytime even when there is
no network interface on the list of intarfaces in the kernel.
- get a correct link ID for each interface at initialization
(using scope libraries if HAVE_SCOPELIB is defined).
- fill in sin6_scope_id correctly before sendmsg().
Obtained from: KAME
MFC after: 1 week
2003-08-17 11:11:32 +00:00
Tim J. Robbins
7007f3d660
Tidy up usage message.
2003-08-17 10:33:54 +00:00