brad
d6092fe99a
Explicitly annotate setjmp() and longjmp() (and friends) as
__returns_twice and __dead instead of depending on GCC's special
handling of these function names.
With input from kettenis@ and guenther@
Fixes a warning from clang
ok matthew@
12 years ago
jeremy
803376ceaa
Make setenv(3) consistent with unsetenv(3), giving EINVAL if passed
an empty name, NULL pointer, or a name containing an '=' character.
OK millert@, guenther@
12 years ago
espie
c723e438d4
uint32_t is the integer type defined in stdint.h
u_int32_t is historical BSD stuff.
fix to match the manpage, namely #include <stdint.h> as a prerequisite.
okay millert@
12 years ago
matthieu
c3e3b3e12d
Remove /usr/X11R6/lib/X11/config/
12 years ago
yasuoka
71d3e06461
Enable npppd and npppctl in default build. Add npppd to rc and
install sample configs to /etc/.
ok claudio deraadt henning mcbride
12 years ago
patrick
bb4b345cc6
Allow ntpd.conf to assign a stratum to a sensor with the syntax stratum <level>.
OK markus@ henning@ phessler@ jmc@
12 years ago
henning
824638f799
clarify which process writes out stats upong SIGINFO reception.
pointed out by Frank Brodbeck <fab at guug.de>, actual change with & ok jmc
12 years ago
reyk
89bfa21db3
Add SNMPv3 USM example (commented out)
12 years ago
jmc
4834096ac0
remove some wacky Xo/Xc;
12 years ago
miod
da46ccb0c3
remove tahoe-specific makefile machinery, no such hardware is known to be
in working condition anymore (assuming there would be interest in running on
it).
12 years ago
martynas
1954aa198d
Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek.
12 years ago
guenther
9101d17c76
Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.
Much ports testing of various versions by naddy@ and jasper@
ok matthew@, miller@
12 years ago
deraadt
9dace0b0af
specify the bounds of the dst to strlcat (both values were static and
equal, but it is more correct)
from Michal Mazurek
12 years ago
pirofti
336a8ca4d4
Fix precedence bug (& has lower precedence than !=).
Okay otto@.
Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
12 years ago
ajacoutot
307aa3046d
Simplify the way we call the rc.d(8) script in "restart".
ok sthen@
12 years ago
deraadt
a34b303b63
we need a fakeramdisk, like on sparc64
12 years ago
matthew
ddc0736e18
Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can
be included in source files that specify POSIX source. libutil isn't
a standard POSIX library, but no need to be gratuitously incompatible.
Fixes x11/st.
ok tedu, guenther, kettenis
12 years ago
mpi
f1cfc1448e
sync
12 years ago
mpi
cd67385a6f
Add drm node
ok kettenis@
12 years ago
tedu
c450e6bc8f
add const where missing
12 years ago
jmc
b9881c9c7b
various fixes;
12 years ago
matthew
79fe643d61
Move the commented out test program in pkcs5_pbkdf2.c into a proper
regress test.
12 years ago
tedu
d87c08ca59
some better phrasing, mostly via jsing
12 years ago
tedu
d5bb407472
move pkcs5_pbkdf5 function to libutil so everybody can play with it
ok deraadt jsing matthew
12 years ago
tedu
1156cf94ba
arc4random_buf is the easy way to fill a buffer now. ok deraadt
12 years ago
okan
143bb47cdd
remove lint leftovers; ok guenther@
12 years ago
ajacoutot
4ff3f48cb4
Make '-f' only affects the "start" action.
There is no reason we couldn't reload|stop a daemon even when _flags is
set to NO.
As a bonus side effect, we can now see usage() on disabled scripts.
discussed with sthen@ and espie@
ok sthen@
12 years ago
jmc
12b562f515
rfc 5905 replaces rfc 2030; for now, the reference to 2030 in ntpd.conf
stays;
ok henning
12 years ago
dtucker
9b4df9f432
regen moduli file (<=4kbit). ok deraadt djm
12 years ago
dtucker
d093c72e8e
Make the update-moduli rule append the 6kbit and 8kbit params so that we
can trivially regen the <=4k bit ones. ok djm@
12 years ago
miod
e3aae9f755
Remove landisk gcc 3 compiler workaround. Reminded by martynas@ and brad
12 years ago
ajacoutot
dea79dbe51
Hook up nginx to rc(8).
ok deraadt@ robert@
12 years ago
todd
a0b85349e0
sync: remove lingering nnpfs, pointed out by jmc@
12 years ago
deraadt
3292a32307
create the man8/beagle dir
12 years ago
todd
6032a6b1a2
enter etc.beagle so MAKEDEV.8 can be generated properly during builds
prompted by deraadt@
12 years ago
deraadt
885d61e793
no more _PATH_AFSD required
12 years ago
deraadt
ccc7443735
do not install the nnpfs directory
12 years ago
deraadt
c9adcc97bf
no more afs activation goop
12 years ago
deraadt
bf99d19d35
stop installing the etc/afs
12 years ago
deraadt
85439c91a8
sync
12 years ago
deraadt
d7b1e60dd9
get rid of the nnpfs nodes
12 years ago
espie
96e8541cf3
hex constants unsigned, prevents some gcc warnings
okay ratchov@
12 years ago
ajacoutot
bac2b278e8
Use the new "-q" option of pgrep(1) instead of redirecting stdout
to /dev/null.
12 years ago
dlg
4f6e837104
wire up the bits for tftp-proxy, which is called tftpproxy from rc.d's
point of view.
mostly ok sthen@ ajacoutot@, who were discussing the feng shui of the
start_daemons chunk
12 years ago
jmc
0eaeba173f
within Rs/Re reference blocks, use %U instead of %O (or any other
variants) for URLs, allowing mandoc -Thtml to properly generate links;
(sendmail.8 changes are simply using Lk, which i somehow missed in previous)
ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not,
but 1.21 does;
12 years ago
ajacoutot
b3070ea3a2
Optimize checks for /etc/exports.
from robert at peichaer dot org
discussed with and ok halex@
12 years ago
ajacoutot
ccfdfa3ecd
unset _rcflags and _rcuser so that they don't get inherited by rc.d(8)
scripts; from robert at peichaer dot org
ok halex@
While here, put the "sanitation" commands in their own block.
12 years ago
ajacoutot
8b3e1998a5
Set the daemon_class as readonly as it should be (and is documented as
such).
from robert at peichaer dot org
modified after a discussion with halex@
ok halex@ robert@
12 years ago
ajacoutot
6658eb2d70
Make a couple of variables local.
from robert at peichaer dot org
ok halex@
12 years ago
ajacoutot
645a3e85e0
Add a new rc_usercheck variable (default to YES). When set to no, root
privilege is needed to run rc_check.
In effect this means /etc/rc.d/foobar check can now be run as a regular
user.
Discussed with robert@ during g2k12.
ok todd@
12 years ago