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@
19 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.
19 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.
19 years ago
otto
a73d63a9ef
Fix rounding of fractionless numbers. ok tom@ miod@
19 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@
19 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
19 years ago
deraadt
0539953c14
knf
19 years ago
otto
7176d2991e
Fix sizing of fraction. ok tom@ deraadt@
19 years ago
henning
9721a5431f
from the "shut the fuck up, ntpd" department:
don't whine about temporary dns errors
19 years ago
deraadt
459c93ccc2
missing break spotted by lint
19 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
19 years ago
henning
6801136c41
let client_query return 0 if it requested dns resolution
19 years ago
jmc
5761838b09
use .Pq rather than .Po/.Pc;
19 years ago
deraadt
504623a59e
move to 3.7-beta
19 years ago
henning
1b0777efc4
fix error message, Benedikt Steinbusch <bsteinb@hamazone.de>
19 years ago
todd
3e4d414b2b
sync
19 years ago
todd
d569ce3508
correct typo, wrong pf major
19 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@
19 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.
19 years ago
millert
1683a3a0eb
Fix typo that breaks compilation #ifndef __weak_alias; Francois Perrad
19 years ago
miod
a0cdf0d3f3
Regen
19 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.
19 years ago
otto
f8c3f2227d
regen
19 years ago
otto
3ae4c54cc2
Increase the default number of usb dev nodes to 6. Some new machines
(like the Mac mini) have that many usb devs on board.
ok drahn@ dlg@ miod@
19 years ago
cloder
907ea60a25
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
19 years ago
henning
6d9ab8b66e
when sending a query already returns a failure, we're not going to see
a reply to that query.
if we get errors for all queries and the initial settime() is still due
and thus the parent process still waits (not yet daemonized!), send an
IMSG_SETTIME with offset 0.
shortens the delay dramatically when you boot without network
idea from a discussion with theo
19 years ago
otto
c1b8c6bca5
Avoid spurious "globally exported" warning. Noted by jared r r spiegel.
ok henning@
19 years ago