henning
67e13a77ac
adjust comment for ntpd_flags, "-s" is the normal use in the rc scripts now
20 years ago
henning
80548b0292
add a new -s option, that tells ntpd to set the time using settimeofday()
once at startup. ntpd delays daemonizing until it has done the intial
time setting (or ran into the timeout) in this mode to make sure stuff started
later in rc is not subject to time jumps.
this eleminates the need to run rdate -n beforehands.
with some input from & ok ryan and bob, march music from mickey
20 years ago
deraadt
a088bfecd9
label a switch fallthrough
20 years ago
deraadt
2245b99438
avoid aliasing over library symbol
20 years ago
deraadt
3a5df51764
cast not needed
20 years ago
henning
25a5d7fd19
do not bother overallocating and shrinking the pfd and idx2peer arrays,
doesn't by us anything. discussed with ryan during dinner at original joe's
20 years ago
mcbride
9e4175976e
Set up alternate keyboard encoding earlier in rc.
ok miod@ henning@ deraadt@
20 years ago
jmc
0815f339e3
correct comment: spamd flags in spamd(8), not spamd-setup(8);
from frank bax on misc@;
ok deraadt@
20 years ago
millert
9d799d1171
Fix MD5FileChunk() when passed a 0 length; makes MD5File() work again.
From Peter Galbavy.
20 years ago
otto
ad963acdf7
fix 1099512676352 -> 2.0T; ok miod@
20 years ago
henning
1952adadc6
the "type" param to imsg_compose and imsg_create is really an
enum imsg_type and not an int
20 years ago
henning
19e1a3d9e7
in imsg_compose:
-don't buf_free() on imsg_add() errors, it already does that for us
-use imsg_close() instead of buf_close(), does error handling already
20 years ago
henning
5d20af9c99
use imsg_add instead of the lower level buf_add in imsg_create; it already
does the error checking for us.
20 years ago
henning
ca742b9675
ewps...
20 years ago
henning
88ad9df9d9
need buf_free() to free buf, free() is not good enough
20 years ago
henning
7b3f946188
imsg framework cleanup:
-kill the _pid flavors of imsg_create and imsg_compose, and just add pid as
argument to those
-use imsg_create in imsg_compose instead of duplicating code
-check for datalen overflow
20 years ago
henning
1376183807
malloc the imsg buffers instead of having them statically, suggested by
micsky some time ago, ok otto
20 years ago
mickey
116349bcbc
regen
20 years ago
mickey
0331b2949a
make pdc device too
20 years ago
henning
10cacbacd8
kill another unused function and two debugging printfs
20 years ago
henning
364aac1c51
remove the unused variable/macro code, ok theo
20 years ago
henning
af877d3b2a
unused variables, theo
20 years ago
henning
3113a84826
missing include, from theo
20 years ago
henning
062c33dcbf
remove buf_write(), not used in ntpd. found by theo
20 years ago
deraadt
efb1c5583a
do the char * to u_char * song and dance back and forth explicitly as
we match API's against each other, fun eh; millert ok
20 years ago
deraadt
a51e10d144
KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned
int instead of int; millert ok
20 years ago
henning
372c584a99
paranoia: reset query->fd to -1 after close, from canacar some time ago
20 years ago
henning
436da7f7ee
correctly track peer count. fixes a memory corruption.
with & ok otto millert claudio, ok deraadt canacar
20 years ago
henning
003e3aa51d
ignore ntp_sendmsg()s return value in server_dispatch. could result in
ntpd exiting on sendmsg() failures, which is not desired.
20 years ago
deraadt
92e140cc65
sync
20 years ago
deraadt
f6665ab141
put apm (zzz) and apmd on at least some ramdisk media. this lets people
wander around akikhabara with a usb cd drive and an openbsd cd, testing
for laptops that support apm as god intended.
20 years ago
henning
a8c5498014
don't forget to set *hn... theo ok
20 years ago
deraadt
709ac609c7
skip early DNS lookups -- they are deferred to later; ok otto ho henning
20 years ago
deraadt
f66c7f6404
ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto henning
20 years ago
deraadt
b5ce32536e
install cdbr and cdboot for those that have it, too
20 years ago
millert
be9f1ce9eb
Use $file shorthand instead of specifying /var/backups/disklabel.$d.
Noticed by ian@
20 years ago
millert
a117f51a18
store a copy of the disklabel for mounted filesystems and report changes
OK deraadt@
20 years ago
millert
33d1181051
Whoops, ripemd was broken, not ripemd-160.
20 years ago
millert
13266903e8
Collisions have been found for the full versions of MD4, MD5 and RMD160.
20 years ago
henning
f04f23feb6
don't fatal() if getaddrinfo() returns EAI_NONAME
20 years ago
pvalchev
7034e99693
backout as it's too close to release; requested by deraadt
20 years ago
pvalchev
170d5174cb
raise openfiles limit (max fd per process) on staff group above default; ok miod millert
20 years ago
jaredy
56c63c4e20
mention strtonum(3)
ok millert jmc pedro
20 years ago
hshoexer
7301832925
no need anymore to require isamkpd.policy for isakmpd startup
ok ho@ henning@
20 years ago
deraadt
0ba4d948a9
sync
20 years ago
deraadt
8a2f97ae04
bpf0 on ramdisk; from hugh
20 years ago
miod
265f65c52e
Regen.
20 years ago
miod
bd4c2b1f12
``SCSI unknown devices'' -> ``Unknown SCSI devices'', requested long ago by
jmc@.
20 years ago
pvalchev
517d92e20b
updated packages list lastly
20 years ago
deraadt
fd6bb7721c
sync emacs name, xsa
20 years ago