henning
baf806507d
put back regular sensors scanning
18 years ago
henning
eea91760ae
only actually run sensor_query when it is due, not every time poll returns
18 years ago
deraadt
cdd179ea4b
asf/ipmi balony at udp 623; sthen@bootes.spacehopper.org
18 years ago
ckuethe
9325c20f99
When ntpd backs off polling due to a negative delay, tell the user how long
it will wait until the next poll.
ok henning@
18 years ago
jmc
0d1cb4cfe1
better wording for the "weight" section;
18 years ago
jmc
146a76e0cb
document the optional "weight" keyword, and a little cleanup;
from henning and myself
18 years ago
avsm
159a0297e1
revert vfs.nfs.privport sysctl, broke a few architectures
requested by deraadt@
18 years ago
henning
d4fd11008a
when we cannot open /dev/hotplug, donn't bail, just work without
with ckuethe
18 years ago
avsm
a1ea8f4c10
Add support for NFS mounts to be from non-reserved ports:
- new sysctl vfs.nfs.privport to require NFS mount requests to be on
reserved ports when set to 1 (the default).
- mountd now automatically sets the sysctl depending on the -n flag.
- add mountd_flags to rc.conf to enable the -n flag at boot.
deraadt@ ok
18 years ago
henning
52daf64bf5
allow for weight to be added to sensors or servers, so that one can
weight timedelta sensors higher than ntp peers, for example
ok deraadt mbalmer
18 years ago
henning
24755fb155
get clock src id from the timedelta sensor desc.
unfortunately I still don't have any hardware to test this ;(
18 years ago
henning
60325542b8
if sysctl gives ENOENT the sensor is gone and we remove it
18 years ago
henning
b2a25c5f18
let sensor_query handle removals itself
18 years ago
henning
1314afba48
sensor_byid not needed any more
18 years ago
henning
18724bbfff
hotplug devid will go away in a minute, so don't use it here any longer
18 years ago
henning
494460017f
do not bother with rmeoval events, we remove sensors whoch vanished or
are not a timedelta sensor any more on query on the fly anyway
18 years ago
jmc
405e658006
small grammar improvement;
18 years ago
henning
d5fece7cde
DV_SENSORS is no more, plug workaround for the time to the real solution
18 years ago
henning
790a2f0010
make use of the new hotplug events for sensors showing up or vanishing
18 years ago
henning
54fb320578
add sensor_byid(), return sensor by its id
18 years ago
henning
d3875817fc
stop passing the config around all time, just store one copy
18 years ago
henning
66277ecc3d
factor out sensor_probe from sensor_scan so we can probe a sensors when
we know its idea without scanning all again
18 years ago
henning
1c3c1ca642
make ntpd listen on the hotplug socket and decode yadda yadda, because
new sensors showing up will be announced that way when slacking ml comes
back from food
18 years ago
henning
c24767cca2
scan for new timedelta sensors every five minutes for now, ok deraadt
18 years ago
henning
9bb919c475
ntpd does timedelta sensors now too
18 years ago
henning
fe9a290e7a
document timedelat sensors. ok deraadt
18 years ago
henning
f687c4f193
config file bits for timedelta sensors, so one can specify which devices
to use. "sensors *" just uses all. untested due to lack of hardware.
hacked on the road somewhere between vancouver and calgary
18 years ago
deraadt
1036a9d27a
\<char> is <char> except for \<newline> -- no exceptions. much like how
other things work. ok henning
18 years ago
henning
21382f5e23
add support for timedelta sensors, which pretty much means udcf(4) right
now. untested due to lack of hardware, and it wouldn't have worked in the
plane anyways. work in progress, currently picks up and uses all sensors
it finds, config file bits to be added soon. theo fine with this going in
18 years ago
henning
1d2ad6e90a
more bits from transatlanic flight:
make priv_adjtime() deal with offsets, not peers.
18 years ago
henning
309a243757
figure out the refid to send to NTP v3 clients early and store it
first bits from a way to long flight
18 years ago
henning
926119b732
make listen on example idiot proof
suggested by "Karsten W. Rohrbach" <karsten@rohrbach.de>
18 years ago
thib
c7485b1da9
fix a !foo & bar.
ok miod@, tedu@, pedro@
18 years ago
henning
a139e32a41
PFD_MAX betterer than harcoded 1
18 years ago
otto
6fdf04a27b
Fix the second malloc_ulimit regression: maintaining the free list
requires memory; try to make sure we have it. If all fails, leak
instead of crash. Test case originally found by cloder@, fix tested
by many.
18 years ago
miod
4468c127e2
Regen
18 years ago
miod
2d3996d0f5
Administrative changes for aviion, ok deraadt@
18 years ago
otto
bf7ad7afc9
delint; ok millert@ beck@
18 years ago
millert
2a8d0a4c1b
Convert do {} while loop -> while {} for clarity. No binary change
on most architectures. From Oliver Smith. OK deraadt@ and henning@
18 years ago
tedu
09917d2c4e
strtonum does not require limits.h
spotted by ray some time ago
18 years ago
otto
854f853894
Do not leave an hole in the directory list if allocation of the
region succeeds, but allocation a required page dir failed. This
can happen if we're really close to ulimit after allocation the
region of the size requested. See malloc_ulimit1 regress test.
Tested by many; thanks.
18 years ago
otto
f650f69733
delint; original from deraadt@ with fixes from tdeval@ and me;
tested by quite a few developers. ok deraadt@
18 years ago
espie
14b69ad0fc
fix badly broken code. okay millert@, deraadt@
18 years ago
todd
29ba9a7ac6
remove some rather deceptively unused lines; no change to generated MAKEDEV's
18 years ago
todd
c81d73893f
shuffle ramdisk device targets to MAKEDEV.common to avoid duplication and
pave the way for future work; ok since this does not change the generated
MAKEDEV
18 years ago
todd
57c7e54a33
sync
18 years ago
todd
e7190b9b1c
add 'com' serial port as a common ramdisk device
18 years ago
todd
ba7cddc6d6
add forgotten copyright; ok deraadt@
18 years ago
dhartmei
782bed6d79
move the commented example /var/mail/whitelist.txt to /var/db, so it
doesn't trigger security(8)'s ownership checks. ok bob@
18 years ago
otto
8d5338428b
POSIX says tdelete() returns the parent of the deleted node. Sadly the
root node doesn't have a parent, and POSIX does not say what should be
done in that case. Warn developers that different implementations
may do different things.
19 years ago