Hajimu UMEMOTO
fbcc332a1d
set LOG_PERROR for openlog() when running foreground.
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:15:10 +00:00
Hajimu UMEMOTO
767b3bfd66
dump the content of route information options
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:04:28 +00:00
Hajimu UMEMOTO
776fdb8006
logged the fact to dump the status.
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 16:50:34 +00:00
Hajimu UMEMOTO
145b960169
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-14 19:05:24 +00:00
Hajimu UMEMOTO
5c706347d5
support poll(2).
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 18:43:57 +00:00
Hajimu UMEMOTO
92bdf888a6
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-14 18:13:34 +00:00
Hajimu UMEMOTO
4eb4a0e6ec
- rename some variables.
...
- remove unused block.
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:51:13 +00:00
Hajimu UMEMOTO
71aa258ee8
signal handler must take "int" arg.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:23:39 +00:00
Hajimu UMEMOTO
eaa5529180
avoid fd_set overrun.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:19:59 +00:00
Hajimu UMEMOTO
653b3bd48b
signal handler must take "int" arg.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 15:57:52 +00:00
Hajimu UMEMOTO
8998f69b13
avoid fd_set overrun.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 15:47:31 +00:00
Hajimu UMEMOTO
7bc56ec444
decreased too-strong log levels.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 15:21:55 +00:00
Garance A Drosehn
53953407b6
Use STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO in a few more
...
places (replacing constants 0, 1 & 2).
Noticed by:
Reviewed by: md5
MFC after: 4 days
2003-08-13 20:31:33 +00:00
Hartmut Brandt
7cfb043cce
Make this WARNS=6 clean by just constifying two local char pointers.
2003-08-13 07:51:06 +00:00
Hartmut Brandt
3af5ca9948
Put all the argument-less options together in the synopsis as required
...
by style(9).
2003-08-13 07:43:08 +00:00
Hartmut Brandt
1cdff5c9f7
Implement two command line options that allow one to change the
...
file descriptors that are used for input and output. That allows
one, for example, to use nghook to bi-directionally pipe the
input and output into/from another non-netgraph-aware program.
2003-08-13 07:42:07 +00:00
David E. O'Brien
1c327ba712
Imply NOLIBC_R for PowerPC.
2003-08-13 00:13:37 +00:00
Hajimu UMEMOTO
d7f0819bf0
malloc() may return NULL.
...
Obtained from: KAME
MFC after: 1 week
2003-08-12 16:58:32 +00:00
Hajimu UMEMOTO
b6ed844ff2
reduce #ifdef.
...
MFC after: 1 week
2003-08-11 15:51:54 +00:00
Hajimu UMEMOTO
bb58b617fb
use strlcpy() and snprintf().
...
Obtained from: KAME
MFC after: 1 week
2003-08-11 15:49:47 +00:00
Nate Lawson
c0efcff271
Remove the band-aid to make these compile on amd64/ia64.
2003-08-11 15:49:14 +00:00
Hajimu UMEMOTO
47742de0ef
use int64_t instead of long long.
...
Obtained from: KAME
MFC after: 1 week
2003-08-11 15:46:37 +00:00
David Schultz
1f80683394
Instead of unconditionally refusing to install if no swap partitions
...
are specified, prompt the user with a yes/no box.
2003-08-10 01:04:05 +00:00
Marcel Moolenaar
f88faa54e4
Apparently I limited my testing of the ductape and bubblegum solution
...
to acpidb. The same problem exists in iasl. Add JIT patching there
too.
Add a comment to both makefiles to increase the chance that both
kludges are removed when a real solution is committed.
2003-08-09 19:11:20 +00:00
Marcel Moolenaar
67fdc6b784
Perform first-aid: unbreak the build for amd64 and ia64 by patching
...
osunixxf.c on the fly. This avoids having to pull it from the vendor
branch or otherwise pollute the repository with new short-lived files.
This should hold until the real fix arrives.
2003-08-09 07:06:09 +00:00
Hajimu UMEMOTO
be9879af48
Drop MIP6 code. We don't support MIP6 yet.
...
MFC after: 1 week
2003-08-08 20:14:28 +00:00
Hajimu UMEMOTO
fa19f9be04
KNF, correct typos and cleanup spaces.
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:56:01 +00:00
Hajimu UMEMOTO
5ed8c16b88
drop the code for the environment where getifaddrs(3) is not
...
supported.
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:52:31 +00:00
Hajimu UMEMOTO
8198209700
stop use of register.
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:47:06 +00:00
Hajimu UMEMOTO
86b032af6c
Process the "O bit."
...
If the value of OtherConfigFlag changes from FALSE to TRUE, the
host should invoke the stateful autoconfiguration protocol,
requesting information.
[RFC 2462 Section 5.5.3]
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:42:37 +00:00
Hajimu UMEMOTO
1533bed05b
__FUNCTION__ --> __func__
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:38:23 +00:00
Ruslan Ermilov
adcb86e214
Fix a bug that caused i386 to produce broken binaries for big-endian
...
64-bit platforms. (size_t is 32bit on i386, but Elf_Shdr.sh_size is
64bit on SPARC64.)
2003-08-08 15:44:17 +00:00
Nate Lawson
3e0387b483
Hook acpidb(8) and iasl(8) up to the build and unhook amldb(8). It will
...
be going away after a short while but still available in ports.
2003-08-08 03:20:59 +00:00
Nate Lawson
8285491e78
Add man pages for acpidb and iasl
2003-08-07 18:09:17 +00:00
Nate Lawson
a42b754313
Add the acpidb and iasl utilities. This is not yet hooked up to the build.
...
Obtained from: acpicatools port by Iwasaki-san
2003-08-07 16:51:50 +00:00
Warner Losh
f61a3412d9
No need to define externs for getopt interface.
2003-08-07 05:47:49 +00:00
Simon L. B. Nielsen
3b5e70922f
Add a reference to config(5) in the SEE ALSO section.
...
Suggested by: dcs
Approved by: ceri (mentor)
2003-08-06 21:41:35 +00:00
Hajimu UMEMOTO
07cf047d5a
introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to
...
control whether to accept RAs per-interface basis.
the new stuff ensures the backward compatibility;
- the kernel does not accept RAs on any interfaces by default.
- since the default value of the flag bit is on, the kernel accepts RAs
on all interfaces when net.inet6.ip6.accept_rtadv is 1.
Obtained from: KAME
MFC after: 1 week
2003-08-05 14:57:11 +00:00
Hidetoshi Shimokawa
abd538f249
- Use /dev/fwX.Y rather than /dev/fwX.
...
- Add option -u to specify bus number.
- Try to open the device only if it's necessary.
2003-08-05 03:26:14 +00:00
Andrey A. Chernov
90862ca23d
LANG->LC_ALL
...
Pointed by: ru
2003-08-04 21:31:53 +00:00
Andrey A. Chernov
3d2b7661d5
Use LANG=C before egrep A-Z and tr A-Z
...
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
Strip [] for tr ranges
2003-08-04 15:57:01 +00:00
Andrey A. Chernov
68aef77b2a
Fix problem differently, use
...
LANG=C tr 'a-z' 'A-Z'
for hypotetical case that script may generate non-ascii characters
2003-08-04 15:29:09 +00:00
Andrey A. Chernov
7f0ea49c84
Use tr '[:lower:]' '[:upper:]' to work with any locale
2003-08-04 14:32:56 +00:00
Doug Barton
27d5ecc317
Use the actual build target (all), since relying on the build as a
...
side effect of the distribution target was apparently just good luck
all these years.
Submitted by: ru
2003-08-04 10:23:45 +00:00
Bosko Milekic
d8af834050
Backout 1.14, it seems to be causing problems with libxml build
...
and I don't have time to investigate this code in much detail right
now.
2003-08-04 03:02:36 +00:00
Warner Losh
926c662984
Go ahead and allow ports as high as 0xfff to be used for pccard
...
devices. Only some devices support above 0x400, but since you have to
explicitly enable this range, you are assumed to know what you are
doing.
2003-08-03 06:17:06 +00:00
Hajimu UMEMOTO
571ecd7ab4
Always put an entry for ::1. It may avoid useless DNS lookup
...
for localhost.
MFC after: 3 days
2003-08-03 05:55:21 +00:00
Garance A Drosehn
0d5a03997a
Fix an 'bad file descriptor' error which would come up when using
...
the 'C' flag on an entry that also specifies 'user:group' info.
Submitted by: Riccardo Torrini <riccardo@torrini.org> in -current
MFC after: 4 days
2003-08-02 23:03:37 +00:00
Peter Wemm
55da3c73ae
Hoo sed I kan spel?
2003-08-02 01:58:33 +00:00
Peter Wemm
79d7565c5a
Dump the HPET information block.
...
What is the HPET I hear you ask? It is the High Precision Event Timer
that is supposed to supplement and eventually replace the 8254 timer and
the RTC periodic interrupts. Among other things, it is 64 bit (can be
run in 32 bit mode for 32 bit cpus), and is suitable as a replacement for
the ACPI timer on SMP systems (the specs are much better) and as a
replacement for the ITC based synthetic clock for on ia64 systems.
It seems IA64 and AMD64 systems tend to have this. It is likely to start
showing up in i386 systems if it isn't already on some of them.
2003-08-02 01:55:03 +00:00