martin
f19cc901d5
put boot.mac into snapshots, needed for booting old-world macs
ok drahn@ gwk@
18 years ago
claudio
3b46e875e2
Typo in fatal() message found by dunceor @ gmail dot com
18 years ago
steven
2bbbf85772
sync with the code: int -> intmax_t
ok jmc@
18 years ago
martin
bdee9b0b00
power(4) driver for the power switch on many landisk models, hooked
up to machdep.kbdreset; modelled after the sparc64 power(4) driver
discussed with miod@ and jsg@
18 years ago
henning
5a0d6270be
the new sensors tre can give us the number of sensors per type.
With this patch, we give up without bothering sysctl
kern_sensors.c::sensor_find() unless we know for sure that timedelta
sensor is present.
From: "Constantine A. Murenin" <cnst+openbsd@bugmail.mojo.ru>
18 years ago
otto
1f8bd32eb8
Although Unix compilers accept more than one definition of a global
symbol, follow the guidelines from K&R: only one definition of a
global symbol (and possibly more declarations). Rename some vars
here and there to avoid shadowing. ok henning@
18 years ago
otto
4116dad0a1
Esape from the Mouth of Madness by adjusting stored sensor offsets
when we adjust time. This prevents ntpd from going wild when using
sensor time sources; ok henning@ (on an earlier version) and a LOT
of testing by naddy@
18 years ago
otto
7690556ff8
Add some comments on the expresssion which converts sensor timedeltas
to ntp offsets; also, rewrite the expression to make it more clear
with no change in semantics. ok henning@
18 years ago
millert
82d251ba4c
Add authpf class as per the pf faq; from Alex Holst. OK beck@.
18 years ago
itojun
1c5b84a58f
add net.inet6.ip6.mforwarding which was forgotten when the variable was added.
18 years ago
deraadt
71c645ca56
advertising clauses that can be dropped
18 years ago
matthieu
e72e8e7a98
remove acpid references. ok gwk@, steven@, grange@ and janus@.
18 years ago
drahn
b5f9183152
sync
18 years ago
drahn
567f74a39a
without bktr, there is no tuner, comment it out as well (fixes the other
half of Diana's problem) ok todd
18 years ago
todd
468c87694f
sync
18 years ago
todd
018d24538a
fix typo observed by Diana Eichert
ok drahn@
18 years ago
aanriot
5aa2b6c2dc
rndc will now create output files of 'rndc dumpdb', 'rndc
stats' and 'rndc recursing' commands in /var/named/tmp (instead of
/var/named), which is writable by the 'named' user.
feedback and ok jakob@ deraadt@, also agreed by fkr@ and msf@
18 years ago
reyk
ce03a8b776
add examples for the optional channel hopper
18 years ago
naddy
6c7f751ad1
forgot a dereference in the previous conversion; ok deraadt@
18 years ago
msf
00ed132fde
add the files in /etc/mtree to changelist
ok krw@
18 years ago
deraadt
44cfc5dfde
adapt to new two-level sensor sysctl framework; by Constantine A. Murenin
18 years ago
ray
fa4243d96f
Don't use err as labels or variables, especially since we include
err.h.
OK moritz@ and jaredy@.
18 years ago
henning
0cb81b5488
let ntpd use sensors immediately after system boot by special casing
last_sensor_scan == 0. monotime might be very close to 0 after boot.
source unknown, maybe from naddy, rediscovered & ok mblamer
18 years ago
espie
af7b169743
zap bogus sentinel, as noticed by dasn.
okay theo
18 years ago
otto
9ac6257d5f
a failed mmap returns MAP_FAILED, not NULL. found while exercising pax
in low-mem conditions; ok dim@
18 years ago
ray
42bf021fff
Always write errno on pw_lock failure so it can be relied on.
Mention errno, pw_file, and pw_init in pw_lock man page.
OK jmc@, otto@, millert@, and deraadt@.
18 years ago
kettenis
1ea6e41665
sync
18 years ago
kettenis
3ffba49edd
Create /dev/pci[0-3].
ok miod@, deraadt@
18 years ago
miod
0ef7405a5f
Regen
18 years ago
miod
034ff36dce
Use ttya for the landisk cereal, and update MAKEDEV accordingly; discussed
with deraadt@ some time ago
18 years ago
kettenis
fa3e3a1637
Uncomment MAKEDEVARCH+=landisk.
ok drahn@
18 years ago
reyk
66316318df
enable bgplg, the bgp looking glass
ok henning@ deraadt@
18 years ago
henning
6cca85615a
add /var/www/bin, ok deraadt
18 years ago
hshoexer
d879c6d67e
iskampds public key local.pub moved from /etc/isakmpd/private to
/etc/isamkpd. Noticed by ajacoutot@lphp.org, thanks!
ok mcbride
18 years ago
ckuethe
e0df755dbd
Allow sensors in a sensors-only configuration to set the time at startup.
18 years ago
mcbride
9eb51b632f
Move isakmpd's auto-generated public key, local.pub, into /etc/isakmpd
This makes it readable by unprivileged uses, simplifying configuration,
and there is no reason for it to be secret.
ok msf deraadt hshoexer
18 years ago
henning
a4d68a0292
with usig the meadian offset froma number of measurements the recording
of the last sensor update time got broken, doesn't show up with gps since
it updates often (more often than we read), but naddy ran into it with dcf.
record time of last sensor datum seperately. ok naddy balmer
18 years ago
henning
4d4b029c15
when pf and pflogd are enabled, do a "ifconfig pflog0 create" early.
rc checks pflog0 existance before starting pflogd0, pbly to not print an
error message on pflog-less kernels... ugh. ok mcbride
18 years ago
itojun
e160d6de4a
reject multicast packet without scope identifier specified.
18 years ago
deraadt
68f0e775cd
names have changed
18 years ago
deraadt
814f05b841
landisk has no wsconsctl.conf
18 years ago
grunk
ffcd2f9eeb
add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -g
working again.
help from millert@, ok deraadt@ pedro@
18 years ago
drahn
9a23b58307
new miniroot partition table entries.
18 years ago
deraadt
6f509cdf39
duh -- on first boot, do not build the host.random file twice; ok djm
18 years ago
grunk
9f82269431
columns for underflow and overflow were swapped, noticed by Mathieu Olivier
<molivier at users dot sourceforge dot net>
ok jmc@ mickey@
18 years ago
dlg
55c0aad4e0
generate diffs for files listed in /etc/changelist as they are created
and deleted. previously this script only generated diffs for existing
files.
ok lots of people including millert@ msf@ mcbride@ todd@ and probably more.
18 years ago
deraadt
33ef5c2799
must pull in sys/types.h unconditionaly, because it is needed my pthreads
includes used a bit later (for instance on the vax)
18 years ago
norby
2abfa3abd6
Add the _ripd user and startup stuff.
ok claudio@
18 years ago
deraadt
888249e0c1
make __dtoa & strtod() thread-safe useing the same method as newer gdtoa
codebase. tested mostly by ckuethe and myself. __dtoa() use now requires
a call to __freedtoa()
18 years ago
henning
4f07972cbe
use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing
time, and make ntpd use that to send the next uery to an ntp peer and the
like. this has the advantage that changes to the clock do not interfere
with the intervals. for example, when we start on machines without an
RTC and the initial settime (-s) kicks in, intervals were strange.
idea from amandal@entrisphere.com, this implementation by me
tested ckuethe, phessler, mbalmer, ok mbalmer
18 years ago