deraadt
52e9696746
rename refstr to refid since it is an int32; ok henning
16 years ago
deraadt
a18f78208a
do not copy up to two garbage characters from a 1 char string into a 4 char
output buffer; ok henning
16 years ago
deraadt
2d91cee4c2
do not leak memory on failure in refid production; ok ckuethe henning
16 years ago
deraadt
6b9dac3b42
spacing
16 years ago
ckuethe
e6e5dc66c8
Allow outgoing replies from sensor-driven servers to have a
user-configurable reference ID, eg. "GPS" or "DCF"...
ok mbalmer
16 years ago
jmc
ef3228a332
fix an Xr, and use a more appropriate macro;
16 years ago
ckuethe
ac65ec9396
Don't ignore a slightly unresponsive server for an hour, 5 minutes is enough.
comments & ok henning@
16 years ago
deraadt
badc137d26
arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandom
16 years ago
jdixon
b81ea3f002
Deprecate /etc/dhcpd.interfaces. This is made unnecessary by dhcpd_flags.
ok deraadt@ beck@ reyk@ phessler@
16 years ago
jdixon
19738ce31a
Move the Apache manual out of etcXX and to miscXX where it belongs.
It has also been moved to /usr/share/doc/html/httpd/. This will
ease sysmerge upgrades and help keep htdocs clean.
Help from okan and phessler, doc tweaks by jmc
ok deraadt@ millert@ beck@
16 years ago
deraadt
07dc939482
olf support starts to die (easy stuff first); ok miod
16 years ago
djm
5a2233d09c
fix math screwup that reintroduced a bias for upper_bounds in range
(2^30,2^31). Nothing in the tree yet requests random numbers bounded
by this range.
report jakob!deraadt; ok deraadt@
16 years ago
jasper
42b8508c56
- add a full stop for consistency
ok deraadt@ dlg@
16 years ago
jsing
748f7c04cd
Fix whitespace and comment.
16 years ago
sobrado
34d599f849
improve indentation.
ok jsing@
16 years ago
jmc
c52fe5a85f
kill an Xr to a non-existent man page, ulimit(1);
16 years ago
otto
a8ec3b0eb8
remove recalloc(3); it is buggy and impossible to repair without big
costs; ok jmc@ for the man page bits; ok millert@ deraadt@
16 years ago
ckuethe
51e14636f6
Allow ntpd to step the time at startup, now matter how large or small the
offset. The 180s limit doesn't help very much these days.
ok otto@ mbalmer@
16 years ago
pyr
69c0857e6a
ntpd missed the argument check sweep.
16 years ago
miod
20f267e159
Disable more wscons bits on socppc.
16 years ago
miod
47e9c720d1
Add catman directories for socppc manual pages
16 years ago
miod
b981689f3e
Plumb socppc in MAKEDEV machinery.
16 years ago
kettenis
3c1ce8fb4f
sync
16 years ago
kettenis
65ae75856e
Add missing files.
16 years ago
reyk
56ae4f8c5c
now we also need the anchor "relayd/*" in addition to the rdr-anchor.
ok pyr@
16 years ago
beck
0790433be5
Add synchronisation support for dhcpd - this allows for two dhcpd's
with the same configuration to be run on the same net and they will
keep their lease files/state in synch, and therefore allowing you to
run redundant dhcpd's. Synchronization code stolen from spamd, uses
an hmac key in /var/db/dhcpd.key if it exists.
ok krw@ deraadt@
16 years ago
claudio
6f0f4765f0
routed is no longer, use ripd instead.
16 years ago
sthen
236ae26d36
- move some services from unofficial to the Assigned Numbers section,
including some "cleverly" positioned in the dynamic range :(
- add a couple of services relating to some ports/packages which
otherwise need a manual change to this file
looks good to ajacoutot, steven. suggestions/ok deraadt
16 years ago
kurt
523f66bcbe
Remove duplicate psignal(3) and sys_siglist definitions. signal.h
is the correct place for them and nothing gets them from here in
base/xenocara/ports. no objection millert@ okay kettenis@
16 years ago
kettenis
5ba8ed9bb7
Make sure sys_signame and sys_siglist are wrapped in __BEGIN_DECLS.
Needed to tell pedantic C++ compilers these symbols have 'C' linkage.
ok kurt@
16 years ago
deanna
b7c1d9ce79
Add section n for Tcl/Tk related pages.
ok jmc@, no objections espie@
16 years ago
deraadt
ec406b2818
express hope
16 years ago
kurt
fb3c0db172
- correct brk(2) prototype and man page to match implementation and POSIX.
brk(2) returns an int value not a void *. brk(2) returns 0 upon success not
a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
16 years ago
norby
351d5b43c0
Import MPLS (Multi Protocol Label Switching)
MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.
It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.
Imported to allow more people to work on this in the coming weeks.
ok claudio@ laurent@ dlg@
16 years ago
sthen
06874bcef6
Teach security(8) to check for world-readable hostname.if files.
An increasing number of types of these files (e.g. ppp, carp and
wlan adapters) may contain secrets.
ok deraadt oga johan
16 years ago
deraadt
d5af9ca8a2
before using them, force hostname.* files to be unreadable by world
first version from todd, ok millert
16 years ago
ajacoutot
c4c8823b4b
- make it clear that hosts.lpd follows the same syntax that hosts.equiv(5)
inputs from jmc@
"looks ok" beck@ (similar older diff), "fine by me" jmc@
16 years ago
djm
d34ab18f72
Use arc4random_buf() when requesting more than a single word of output
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@
16 years ago
kurt
2815da0a3f
- do not call pthread_atfork(3) handlers when a multithreaded program
calls vfork(2). "untested, but looks OK" marc@
- document vfork(2), popen(3) and system(3) don't call atfork handlers
in multithreaded programs. okay jmc@
16 years ago
millert
ae51485cf0
Zero state buffers on return. OK deraadt@
16 years ago
jmc
32376d92a9
no more /usr/share/pf; pointed out by Rod Whitworth
16 years ago
matthieu
70d6474521
Get rid of 3 extra leading spaces. ok deraadt@
17 years ago
sobrado
b6d8f336bd
remove superfluous backslashes and semicolons
ok deraadt@
17 years ago
ray
df36c8d862
bcmp(3) tries to return length, which is a size_t, as an int.
Instead, just return 1 if there is a difference.
Found by lint.
OK millert.
17 years ago
jmc
8c8d34acf3
- add NAME entries for arc4random_buf and arc4random_uniform
- simplify a macro call (Do/Dc -> Dq)
17 years ago
deraadt
d065788062
Add missing MLINKS
17 years ago
otto
ffe451fa53
diff from djm@ committed at his request:
introduce two new APIs for requesting strong random numbers:
arc4random_buf() - fill an arbitrary memory range with random numbers
arc4random_uniform() - return a uniformly distributed random number
below
a specified upper bound, avoiding the bias that comes from a naive
"arc4random() % upper_bound" construction.
these mirror similarly-named functions in the kernel;
lots of discussion deraadt@ mcbride@
17 years ago
ray
c94408a321
- len is size_t, but n uses len and is an int. Matching those types
should be good, plus it prevents weird things from happening if
len > INT_MAX.
- Since n is now size_t, compare it against 0 instead of >= 0.
- temp is used to store individual bytes, so use char instead
(matches fp and tp).
- millert noted that the comma operator may not guarantee order of
execution, so replace with semicolons.
Found by lint, OK millert.
17 years ago
ray
7e316934cd
Convert c to unsigned char, like it says in the manual. Also add
cast to make it explicit.
Found by lint, OK millert.
17 years ago
deraadt
dc03d16f8b
Change ramdisk filesystem size from 4352 to 4000 blocks, so that
bsd.rd does not overlap the boot code... this problem is starting to
feel familiar.. tested by myself and claudio
17 years ago