henning
431920cccf
Found that even if client fd (i.e to NTP source) is set to
-1 because of error, it may still participate in poll()
causing poll() to repeatedly wake up on error fd.
so make sure w edon't add -1 fds to pollevents to avoid unnecessary wakeups
From: amandal@entrisphere.com
18 years ago
henning
43bb2c0b5f
when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC
From: amandal@entrisphere.com
18 years ago
henning
8031d5c7e5
EADDRNOTAVAIL after connect is one of the soft errors where we don't abort
too. from amandal@entrisphere.com
18 years ago
norby
5e683ea07b
Add a sample configuration file for the newly comitted RIP daemon.
ok claudio@
18 years ago
otto
bd1f4d5608
changelist files are ascii, even if they contain a few funny chars.
Encountered by henning@; ok millert@ robert@ deraadt@
18 years ago
deraadt
4272c4ad61
__mips64__ handling too.. sigh
18 years ago
henning
153642fa72
need to call adjtime once in a while here too, otherwise sensor-only
servers never update the system clock
18 years ago
henning
988040972e
internally, ntpd doesn't work with absolute offsets to system time, but
takes the offset it adjtime() is already correcting for into account
when taking the offset from a sensor, we need to correct it by the
offset between system time and ntpd view.
18 years ago
deraadt
cd4357200d
sparc64 should be in the #ifdef
18 years ago
deraadt
aae4c1a097
use __amd64__ instead, until lint is fixed
18 years ago
deraadt
87eecc8992
reorder #if tests because apparently on amd64 cpp proceeds to blow it's
own brains out, and then takes lint down with it. To be investigated...
18 years ago
miod
b7d87ae8bd
Teach'em about cpus in spandex
18 years ago
todd
16a710c20b
sync
18 years ago
todd
d38185707f
etc.landisk does not exist yet, dont try to build MAKEDEV for it yet either
18 years ago
todd
a8891cfe5e
4 usb tty devices by default; ok msf@ marco@
18 years ago
stevesk
70c89238ab
use 'weight-value' vs. 'offset' for the weight argument;
ok jmc@ henning@
18 years ago
mcbride
760e51f118
'keep state' is now default, and use 'no state' where intended.
18 years ago
ray
8041cb1dcc
Don't allow anyone but root to read /var/log/{daily,weekly,monthly}.out.
Unfortunately this does not fix existing file permissions.
Spotted by Antti Harri <iku at openbsd dot fi>.
OK millert@.
18 years ago
deraadt
d75ba15891
enable landisk MAKEDEV building later
18 years ago
deraadt
e626d8f42a
add landisk subdirs
18 years ago
hugh
d7cf83ec21
Exit when asked to here too. Spotted by Theo.
18 years ago
jmc
ffdd151532
from wiz@netbsd:
Log Message:
Switch from 4-clause to 2-clause BSD license.
Ok dillo@, board@.
18 years ago
deraadt
3649a55633
make code look better
18 years ago
hugh
bfa0f6647a
Exit when asked to. OK by deraadt, spotted by lumpy.
18 years ago
krw
315aeaee18
Remove the three instances of :sf:, since we no longer support bad144
sector forwarding on those ide/esdi disks.
18 years ago
grunk
43fa649024
when using SHA1Data(), no CTX is needed, so zap that line in the example
ok jmc@
18 years ago
deraadt
bcbd2043ec
strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yves@spootnik.org
18 years ago
krw
032cc47f8b
Fix off by one comparison. FSMAXTYPES is the last valid index into
fstypesnames[], but that entry is NULL. The last valid file system
name is at fstypesnames[FSMAXTYPES-1].
Encountered and diagnosed by pedro@.
ok pedro@ deraadt@
18 years ago
otto
d629c2a385
Make a var volatile, which forces a mem write at the right spot, and
detctecion of underflow where it would otherwise not happen for FPUs
that have a larger register size than sizeof double (i386, m68k). ok
deraadt@ weingart@ kettenis@
18 years ago
mpf
e960c0c63e
Add ifstated(8) startup bits.
OK deraadt@, henning@, mcbride@
18 years ago
millert
16d880ef5f
Back out change in rev 1.15 of to allow whitespace to separate a
flag from its optional argument if permutation is disabled. The
idea was that since "r:" would match "-r foo" then "r::" should
match "-r foo" too as long as we know that things have not been
reshuffled. Unfortunately, this causes incompatibilities with GNU
getopt_long when the POSIXLY_CORRECT environment variable is set.
OK deraadt@
18 years ago
aanriot
84508b1c46
add chio.conf bits.
ok beck@
18 years ago
djm
3d0b575422
add lldiv prototype; ok deraadt@
18 years ago
hshoexer
d62586af7f
a more useable example; fix comments; ok jmc@
18 years ago
steven
dde4410520
update emacs package version
ok miod
18 years ago
mpf
341b7459bc
Switch boot order: isakmpd starts before sasyncd.
If a user is running sasyncd, start isakmpd with -S.
In this mode isakmpd starts off passsive and doesn't
delete SA's on shutdown.
OK ho@, hshoexer@, deraadt@
18 years ago
deraadt
6f8954ee41
shove boot program into the snapshot
18 years ago
henning
6165008dec
increase the carp demotion counter by 128 instead of 1 while rc runs.
you do not want a machine that is in the middle of rc and does not have
all network daemons (that possibly increase the carp demotion counter
further) to become master just because the other one lost 2 bgp sessions
or similar for other daemons (esp sasyncd) and as such has a demotion
count of >1.
ok mcbride mpf deraadt
18 years ago
tsi
9100bf7b78
Resync MAKEDEV scripts and man pages
18 years ago
tsi
c1d29f5e2d
Extend /dev/tty[C-F]* to /dev/tty[C-J]* on sparc64, and to /dev/tty[C-I]* on
sparc.
ok miod@
18 years ago
espie
c576ec56fb
zap argument name, okay millert@
18 years ago
miod
ea87102a52
Regen
18 years ago
miod
db7bd7356d
Add ttyb[0-3] nodes for qsc0, not created by default for now.
18 years ago
miod
13c6e9e317
Regen
18 years ago
miod
ecdfeec81f
/dev/kUmem is long dead.
18 years ago
hshoexer
be3f56e98b
Similar to the sample pf.conf, comment out everything. Suggested
by okan@demirmen.com, thanks!
18 years ago
hshoexer
6a363a24d3
We've switched from aesctr to aes as default cipher quite some time
ago. Therefore adjust the example encryption key from 160 to 128
bits.
Noticed by jmc@.
18 years ago
mickey
bb3fdf804c
one more sample
18 years ago
mickey
9393847152
allow monitoring sensors with their own status reporting such as ipmi or raid controllers; marco@ ok
18 years ago
henning
031b227392
make sure updates from sensors have the "synced" flag set
18 years ago