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
ajacoutot
469abc673b
Set rc_usercheck to NO.
12 years ago
jsg
8fa630c94b
add a handful of linux signatures from p0fv2 and some other
signatures from observation.
ok mikeb@ jsing@ henning@ deraadt@
12 years ago
okan
068b7390b9
remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.
ok guenther@
12 years ago
naddy
dc3b42db1e
remove reference to no longer existing description of nonexistent devices;
ok deraadt@ tedu@, wording tweaks jmc@
12 years ago
dtucker
08327220f1
regen moduli file; ok deraadt
12 years ago
jmc
dcf5192197
don;t quote things unneccessarily; ok gilles
12 years ago
bmercer
7a8eaae098
Add a config file that the cross compiler looks for.
OK espie@ kettines@
12 years ago
naddy
2cc386be9a
fix an off-by-one error where the return value would point to the
character after the '\0'; ok guenther@
12 years ago
halex
8cefcf1e26
fix pexp
ok robert@
12 years ago
halex
e4fee1be05
fix regexp in pexp
ok robert@
12 years ago
guenther
e061e45abf
Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in the
three things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,
and struct in_addr. Add protecting #ifndefs to netinet6?/in6?.h for those.
ok deraadt@
12 years ago
guenther
544bd8e2e0
Stop pulling in <sys/param.h>
ok deraadt@
12 years ago
guenther
0de147cd86
bsearch() doesn't belong here (it's in <stdlib.h>)
Add __restrict bits for tdelete()
ok deraadt@
12 years ago
nicm
f6f6cc630f
ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) in
util.h.
ok guenther
12 years ago
deraadt
99a773bc80
use PAGE_SHIFT instead of PGSHIFT, in preperation for future
param.h symbol reduction.
ok guenther
12 years ago
ratchov
c325968137
Include sys/types.h rather than sys/param.h to pull BYTE_ORDER macros.
suggested by deraadt@
12 years ago
guenther
de1260708b
Zap extra spaces from function pointer arguments
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
12 years ago
guenther
0de5d83a35
Describe tdelete()'s return value correctly and update the related CAVEAT
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com)
ok jmc@
12 years ago
robert
cc17b63cc3
add /var/www/cache for nginx to store some data
ok ajacoutot@, krw@, deraadt@
12 years ago
ajacoutot
bcc6bf7102
Simplify rc_wait() (no functionnal change).
initially from robert at peichaer dot org with some enhancement by halex@
ok halex@
12 years ago
ajacoutot
dba528de1b
Restore default tftpd(8) argument to use "/tftpboot" so that is works
out of the box.
ok deraadt@ pirofti@
12 years ago
guenther
e6333c5a80
Further standards compliance fixes: export LONG_BIT, WORD_BIT, and
NL_{ARG,LANG,MSG,SET,TEXT}MAX with newer POSIX.
Hide {FLT,DBL}_{DIG,MAX,MIN} and {PASS,TMP,NL_N}_MAX with newer XPG.
Make _POSIX_NGROUPS_MAX and _POSIX_OPEN_MAX conditional on the POSIX
version, like _POSIX_TZNAME_MAX already is.
Add some more _POSIX_* and _XOPEN_* 'specified' limits.
ok kettenis@
12 years ago
guenther
b52673195e
librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed
discussed with deraadt@
12 years ago
tedu
d2b5b55b87
after a talk with ariane, use MAP_FIXED for mquery to avoid the cost of
scanning for free space if the hint isn't available.
also, on further inspection, this will prevent pmap_prefer from "improving"
our hint.
12 years ago
deraadt
1055729331
create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.
12 years ago
guenther
53489f9525
Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declare
all the symbols that POSIX says they must and fewer that they can't and,
most importantly, to not require a specific ordering of headers.
ports testing by naddy@
ok millert@ deraadt@
12 years ago
matthew
5ba17ff2cc
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
Pointed out by Jorden Verwer on tech@
ok deraadt; no objections from djm or otto
12 years ago
tedu
d8de214e9d
two changes which should improve realloc. first, fix zapcacheregion to
clear out the entire requested area, not just a perfect fit. second,
use mquery to check for room to avoid getting an address we don't like
and having to send it back.
12 years ago
deraadt
e9ce83e796
clean mac68k dribbles
12 years ago