pat
4d0a547963
ansi + de-register
ok otto deraadt
19 years ago
otto
e73b3e19e1
Do not promise anything about the contents of resolved on failure.
ok millert@
19 years ago
deraadt
3f1febb4bc
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd
and freebsd, apparently written by torek, the man we never see anymore;
submitted by jcs, but he is not around right now for the libc major crank
so i sneak it in for him
19 years ago
tedu
e548ff89cc
make the resolver stat resolv.conf and update if it changes.
useful feedback and ok deraadt@
19 years ago
uwe
fdcaecd531
comment fix; ok beck@
19 years ago
uwe
65439d9ff8
Add commented-out machdep.kbdreset example.
19 years ago
brad
3d190e977a
Make realpath() thread-safe. New implementation does not use chdir(2) at all.
From: FreeBSD by Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
ok otto@ millert@
19 years ago
miod
2b51f76eec
Regen
19 years ago
miod
9d2b68553f
Move the apm description out of MAKEDEV.common, so that sparc can declare it
with a specific manpage reference.
19 years ago
miod
3a4de1d2ff
No apm on amd64 for now.
19 years ago
miod
80235349ef
Regen.
19 years ago
miod
6b99dee819
Add an apm interface to the tctrl(4) device found on SPARCbooks; currently
limited to power change events and battery status retrieval.
ok deraadt@ mickey@
19 years ago
deraadt
bdab9cead1
change root login shell to ksh as promised; ok many
19 years ago
millert
06b10d0e9a
Document that historic BSD getopt(3) set optopt for each char, not just
on error.
19 years ago
deraadt
1e9e29156d
encrypt swap by default. cheap, and why not. can be disabled by people
who have machines that hit swap a lot. decided after survey of developers,
we found that most turned this on. ok various
19 years ago
henning
de27be63ae
one more fatal/fatalx, alexander
19 years ago
henning
79255b7f6b
fatal vs fatalx, Alexander von Gernler
19 years ago
henning
a71057c067
remove now osolete comment, from a mail exchange with
Alexander von Gernler <grunk@pestilenz.org>
19 years ago
henning
e0f325591a
wpos in struct buf_read and datalen in imsg_get should be size_t and not
ssize_t
From: Alexander von Gernler <grunk@pestilenz.org>
19 years ago
henning
e381312b15
add ospfd, ok theo
From: Jason Crawford <jasonrcrawford@gmail.com>, whitespace fixes me
19 years ago
deraadt
a57004781b
during make release install *bsd* not just bsd*, so we pick up zaurus zbsdmod.o too
19 years ago
deraadt
1d7114c54f
Packages for zaurus - yuck yuck; for uwe
19 years ago
deraadt
ad3d40173a
also copy *.ipk files to RELEASEDIR
19 years ago
millert
8a3fb5a72d
Don't rmdir .ICE-unix from /tmp or /var/tmp either. OK deraadt@
19 years ago
millert
2f3df13003
Don't rmdir vi.recover or .X11-unix from /tmp or /var/tmp. OK deraadt@
19 years ago
deraadt
ec4763f3cc
remove package list. it has been a pain to maintain for years. simply
tell people where to look; idea from miod
19 years ago
drahn
1b6688df51
remove ttya reference, doesn't exist on zaurus, ok miod@ deraadt@
19 years ago
deraadt
54eb757722
add cat2/{cats,zaurus}
19 years ago
dtucker
0a9920c236
Fixes in ntpd_settime (ie ntpd -s):
- Handle errors from syscalls better
- Prevent curtime.tv_usec from being negative for negative offsets.
- Don't claim to have done settimeofday if it fails.
ok henning@
20 years ago
henning
62c3d341a1
nasty: host_dns used to run before forking and chrooting etc, so it was
guaranteed that its res_init() call was done once before fork etc...
that is no longer the case. call res_init() in main() early.
20 years ago
henning
d40f766737
when, after processing all complete imsgs we found in the buffer,
there are some bytes left (less than an imsg header, or less than the
imsg header len field says) we copy it to the very beginning of the buffer.
use memmove instead of memcpy since it is not guaranteed that there's no
overlap. while memcpy on OpenBSD is safe, it might not elsewhere, and
we want our code to be correct anyways.
funny enough theo and I talked at length about that last week in dublin,
and I said I believe I had no memcpys with the chance of overlap in ntpd/bgpd -
well, here is one, and Alexander von Gernler <grunk@pestilenz.org> pointed
me to it.
20 years ago
otto
a73d63a9ef
Fix rounding of fractionless numbers. ok tom@ miod@
20 years ago
miod
05829b9f93
Kill hp300 DISKLESS kernel, not worth using against GENERIC for diskless
systems since it still has all the filesystems for vnd usage and thus
does not save much memory...
ok deraadt@
20 years ago
henning
de3d9906a7
when trying short-circuit the wait for the first reply for -s, only
do so when
-we tried to send at least one query (that is the change)
-we could not send ou a single one without failure (this was already in
place but catched too much)
problem independently noticed by nick and danh, ok mickey danh, testing by
many
20 years ago
deraadt
0539953c14
knf
20 years ago
otto
7176d2991e
Fix sizing of fraction. ok tom@ deraadt@
20 years ago
henning
9721a5431f
from the "shut the fuck up, ntpd" department:
don't whine about temporary dns errors
20 years ago
deraadt
459c93ccc2
missing break spotted by lint
20 years ago
henning
ab6444e263
from the "shut the fuck up, ntpd" department:
move log_debug call to tell about skipping the settime due to lack of
answers down slightly below the 2nd (and final) log_init call so it becomes
a -d only thing. tested by dlg and me
20 years ago
henning
6801136c41
let client_query return 0 if it requested dns resolution
20 years ago
jmc
5761838b09
use .Pq rather than .Po/.Pc;
20 years ago
deraadt
504623a59e
move to 3.7-beta
20 years ago
henning
1b0777efc4
fix error message, Benedikt Steinbusch <bsteinb@hamazone.de>
20 years ago
todd
3e4d414b2b
sync
20 years ago
todd
d569ce3508
correct typo, wrong pf major
20 years ago
uwe
5dd36a2a68
Support APM_IOC_PRN_CTL, and machdep.apmwarn as documented in apm(4), and
apmd(8); missing sysctl variable noticed by drahn@
20 years ago
cloder
d27b833e7e
Make sure we check snprintf return value for failure or truncation before
using it. Make uu_lock_txfr work by properly checking return value from
put_pid(). Fix an FD leak on the lockfile in an error path (from FreeBSD
with modifications). OK millert@, input from otto@ and Bruno Rohee.
20 years ago
millert
1683a3a0eb
Fix typo that breaks compilation #ifndef __weak_alias; Francois Perrad
20 years ago
miod
a0cdf0d3f3
Regen
20 years ago
miod
1aca616a67
Move serial and parallel devices left by mistake in the ``other'' section
to the appropriate sections. No functional change, except for the manpage
being nicer.
20 years ago