otto
58f0ac45ed
get cheaper random bytes, less waste and no getpid() calls, which are
done by arc4random(); ok millert@ deraadt@
17 years ago
otto
5fef7e5c00
provide an libc internal interface to get random bytes, to be used by malloc
to get random data without calling getpid(), ok millert@ deraadt@
17 years ago
henning
2314517d17
4.1-beta
17 years ago
millert
10c1aa4ccb
g/c __DTF_READALL. It was a flag to the internal __opendir2() but
is never set now that the unionfs support has been removed from
readdir(). OK pedro@
17 years ago
todd
0c965b672e
sync
17 years ago
todd
a2284680e0
add bio(4), ok dlg@
17 years ago
jmc
87c018dfaf
fix some dodgy displays;
17 years ago
ajacoutot
024d4091f5
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
18 years ago
ajacoutot
4d3e47221f
- add a new "accounting" variable (default to NO) to enable accouting
(if the file /var/account/acct does not exist it will be created)
ok mk@
18 years ago
kurt
b386eaa7bb
bump DEF_OPENFILES_CUR to 128 so firefox has enough file descriptors
for most uses. 'just do it' millert@
18 years ago
pyr
c2221b0cd4
link hoststated to the builds.
ok miod@, henning@
18 years ago
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