deraadt
2b14ede110
add hppa64 dirs
20 years ago
uwe
2444642ab9
Document special On/Off key functions, and point at the information.
20 years ago
deraadt
802a185408
OK, this is an insane commit. Comes from johnb@ugrad.cs.ualberta.ca, pr 3589.
somehow he got his YP and DNS screwed up and nslookup $h was dealing with h = ""
which was doing nslookup "", which is bad and hangs boots. be more careful
by doing echo $h | nslookup instead.
20 years ago
deraadt
827c2a7c87
show that net.inet.etherip.allow can be set here; pr 3972 ckuethe
20 years ago
tdeval
cefaf602d1
MMAP(2) malloc, here we go again.
20 years ago
henning
4395949868
zap includes, grunk
20 years ago
henning
b7d0279fa2
zap includes, Alexander von Gernler <grunk@pestilenz.org>
20 years ago
millert
b1ad694262
only set HOME if not already set; ok deraadt@
20 years ago
otto
8b4d0d1471
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
20 years ago
deraadt
e2a2b5a722
remove balony advice, recommended by beck
20 years ago
pat
4d0a547963
ansi + de-register
ok otto deraadt
20 years ago
otto
e73b3e19e1
Do not promise anything about the contents of resolved on failure.
ok millert@
20 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
20 years ago
tedu
e548ff89cc
make the resolver stat resolv.conf and update if it changes.
useful feedback and ok deraadt@
20 years ago
uwe
fdcaecd531
comment fix; ok beck@
20 years ago
uwe
65439d9ff8
Add commented-out machdep.kbdreset example.
20 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@
20 years ago
miod
2b51f76eec
Regen
20 years ago
miod
9d2b68553f
Move the apm description out of MAKEDEV.common, so that sparc can declare it
with a specific manpage reference.
20 years ago
miod
3a4de1d2ff
No apm on amd64 for now.
20 years ago
miod
80235349ef
Regen.
20 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@
20 years ago
deraadt
bdab9cead1
change root login shell to ksh as promised; ok many
20 years ago
millert
06b10d0e9a
Document that historic BSD getopt(3) set optopt for each char, not just
on error.
20 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
20 years ago
henning
de27be63ae
one more fatal/fatalx, alexander
20 years ago
henning
79255b7f6b
fatal vs fatalx, Alexander von Gernler
20 years ago
henning
a71057c067
remove now osolete comment, from a mail exchange with
Alexander von Gernler <grunk@pestilenz.org>
20 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>
20 years ago
henning
e381312b15
add ospfd, ok theo
From: Jason Crawford <jasonrcrawford@gmail.com>, whitespace fixes me
20 years ago
deraadt
a57004781b
during make release install *bsd* not just bsd*, so we pick up zaurus zbsdmod.o too
20 years ago
deraadt
1d7114c54f
Packages for zaurus - yuck yuck; for uwe
20 years ago
deraadt
ad3d40173a
also copy *.ipk files to RELEASEDIR
20 years ago
millert
8a3fb5a72d
Don't rmdir .ICE-unix from /tmp or /var/tmp either. OK deraadt@
20 years ago
millert
2f3df13003
Don't rmdir vi.recover or .X11-unix from /tmp or /var/tmp. OK deraadt@
20 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
20 years ago
drahn
1b6688df51
remove ttya reference, doesn't exist on zaurus, ok miod@ deraadt@
20 years ago
deraadt
54eb757722
add cat2/{cats,zaurus}
20 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