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@
16 years ago
sobrado
b6d8f336bd
remove superfluous backslashes and semicolons
ok deraadt@
16 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.
16 years ago
jmc
8c8d34acf3
- add NAME entries for arc4random_buf and arc4random_uniform
- simplify a macro call (Do/Dc -> Dq)
16 years ago
deraadt
d065788062
Add missing MLINKS
16 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@
16 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.
16 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.
16 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
16 years ago
deraadt
7f795dcb3c
sector size for ramdisk should be 512
16 years ago
deraadt
c81852c9f6
bsd.rd's physical memory usage collided with the bootblocks... The
bootblocks have been moved, but we want 4.2 to be upgradeable. So
reduce the footprint of the bsd.rd by shrinking the ramdisk filesystem
because it is way too large. tested by sthen and kettenis
16 years ago
reyk
f38bb5a185
log a different notification message when the tcp check times out.
also adjust the documentation a little bit to decrease confusion about
the check timeout.
From pyr@
ok deraadt@
16 years ago
ckuethe
d621e7cbdf
set the refid for v4 queries too. this allows sensor-driven ntpd to says its
reference is "HARD" (or "GPS", "UMBG", "UDCF" ... in theory) rather than
"^@^@^@^@"
"why not" henning@
16 years ago
reyk
78458012a0
add configuration examples to the default pf.conf file (commented out):
- rdr-anchor "relayd/*": the anchor used by relayd to load
redirections into pf.
- pass in on $ext_if proto icmp to ($ext_if): it is a bad habit to
block icmp, this example proposes to allow it by default.
ok henning@
16 years ago
djm
ed8a0556b1
Try to load host.random before starting the network, no network
randomisations (among other things) benefit from it. We still try again
after /var has been definitely mounted in case it is on NFS;
ok deraadt@
16 years ago
mpf
41c955e769
Have popfile() also close the main config file,
but only do the final popfile call after yyparse() is done.
This also fixes config reload on SIGHUP for some daemons.
Spotted by otto@. OK deraadt@
16 years ago
maja
8517b4430a
Add entry for an iso image. -moj
16 years ago
otto
412c84799c
use pgfree pool like other code does to reserve free list slots.
prevents a few "cannot free mem because i need mem to free mem"
scenarios (one found by weingart@). ok weingart@ millert@ miod@
16 years ago
miod
7e9ba15d77
4.3-beta
16 years ago
bernd
27d597940d
Add /var/www/conf/modules and /var/www/conf/modules.sample.
ok espie@, henning@
16 years ago
art
444fc7d450
The digest in the example seems to have been generated
by code that does not do zero padding. The example code does. Fix.
millert@ ok
16 years ago
kettenis
a6236e22e5
Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.
ok millert@
16 years ago
mcbride
045ce10737
Add .ssh and authorized keys to /etc/skel, makes setting up new
pubkey authentication users with the correct file permissions a bit easier.
ok djm krw henning miod and many others
16 years ago
jakob
2a9411f772
add IPv6 addresses for the root servers.
http://www.iana.org/reports/root-aaaa-announcement.html
17 years ago