otto
814803d97e
move page junking tp unmap(), right before we stick the region in the cache;
ok tedu@
8 years ago
tj
8ce39310c5
pathnames for cert and key files need to be quoted.
reported by brynet
8 years ago
tj
487822ca09
add example certificate and key files generated with acme-client.
ok florian
8 years ago
rpe
3a5d0b50bb
Do the same with less code.
OK halex
8 years ago
rzalamena
1305c0d5de
Teach ntpd(8) how to fork+exec.
ok reyk@, bcook@
8 years ago
reyk
5ec8dcba4c
Add clarifications ("comments") to three places where it wasn't
obvious why it is implemented this way. The whole idea of constraints
is to isolate them as much as possible, in a semi-paranoid way.
OK rzalamena@
8 years ago
reyk
d7b0c49beb
Fix copyright disclaimer in util.c.
OK from the original author Alexander Guy
8 years ago
deraadt
06d7c247a7
proxy uid/gid was split up for seperate purposes; it can go away now.
8 years ago
guenther
8d9d32898a
Don't declare select() in <unistd.h>
ok deraadt@ millert@
8 years ago
guenther
11f3477fd6
Change the (unused) restimespec member of __res_state from a timespec
to a local equivalent to eliminate a dependency on <sys/time.h> being
included
ok deraadt@ millert@
8 years ago
deraadt
9bcab78028
sync
8 years ago
deraadt
fdcee9a45a
cua/tty nodes only need group dialer, the initial uid does not
matter much -- and "uucp" is just stupid in 2016.
ok rpe
8 years ago
natano
544096f84b
Set owner for /etc/{passwd,pwd.db,spwd.db} and /var/sysmerge/etcsum.
from rpe
8 years ago
matthieu
d91cf0ef18
Add a few directories missed in the past
8 years ago
natano
6b2e1028fe
The /etc/{localtime,rmt}, /var/tmp and /sys symlinks and the etc tarball
should be owned by root.
ok deraadt
8 years ago
deraadt
619a6f195c
sync
8 years ago
deraadt
843be9ae0a
extra spaces
8 years ago
rpe
a730e307f5
Unbreak ksh.kshrc by using a MI way of finding out the console device name.
Found by landry
OK deraadt
8 years ago
rpe
28d5c57ffe
Simplify setting the USER and UID variables.
While here, convert `` to $().
OK halex
8 years ago
rpe
f9cc010b3f
Remove remnants of rlogin, it's long gone (2002).
OK halex
8 years ago
rpe
bd8116bbf7
Identation
OK halex, krw
8 years ago
jasper
ce3e7d7285
print a clear error message when not ran as root instead of just falling
through and try whatever it can do with the invoking user's perms
feedback/ok aja@ rpe@
8 years ago
millert
4c5bec1286
Move the 10 (!) defintions of NULL to their own mini header file and
update the NULL definition for C++11. OK deraadt@ guenther@ kettenis@
8 years ago
rpe
0ba52eeb8e
Convert [] to ksh style [[]] tests.
Based on a diff from Anthony Coulter.
OK krw, halex
8 years ago
rpe
f4cb393ab1
Resurrect the detection of the console device that got lost a long time ago.
OK tb
8 years ago
ratchov
1fd280de12
sync after /dev/sound* removal
8 years ago
ratchov
c4c67e385e
Remove /dev/sound* as they are not used and they are identical
to /dev/audio*. No port is using them (thanks to sthen@ for checking).
ok sthen@
8 years ago
jmc
15ad540741
remove unused MD man5 dirs; ok schwarze
while here, remove the comment for man6, according to ingo's system...
8 years ago
ajacoutot
9d07915d24
Introduce an _rc_check_name() function to check the input script name so that
we don't end up with cryptic error messages.
Regex help from rpe@
Issue reported by Anthony Coulter in rcctl(8), but better fix the root cause.
Also clarify the mage page that rc.d script name must follow ksh(1) variable
naming.
ok robert@ sthen@
8 years ago
schwarze
34fadb5d95
restore commenting scheme:
before descending, after ascending, but not around single-subdir dirs
8 years ago
jmc
ea651fa3ce
fix Dt;
8 years ago
nicm
51319d983d
Set errno more consistently, and fix a warning, ok tedu
8 years ago
tedu
acdfcc40f1
rm
8 years ago
tedu
80b2ef3b15
oops, name file after main function
8 years ago
tedu
3e338df556
it doesn't say anything yet, but start adding a man page
8 years ago
naddy
c764b5c799
regen
8 years ago
naddy
f7d710b67f
Remove the tape block device nodes.
While here, also remove two forgotten descriptions for long obsolete
devices.
8 years ago
nicm
1e41004f15
Make the key sizes and offsets arrays const, ok tedu
8 years ago
nicm
072dd7ce0d
Add the usual header stuff (#ifdef _ICDB_H_ etc) to icdb.h, ok tedu
8 years ago
tb
3458303ff2
bump the random timeout to taking % 2048 sec to avoid modulus bias
ok phessler
8 years ago
tedu
0146b434d2
jmc says you can never have too many functions in one man page, so list
the SHA512/256 functions as well.
8 years ago
tedu
676996bb23
remove caveats that are either misleading or unhelpful.
ok jmc naddy
8 years ago
sthen
8b1fc7c57b
update pf.os for larger wscale by default
8 years ago
tedu
7a65e971a0
i forgot to commit sha2.h changes for SHA512/256
8 years ago
tedu
aeb17a716b
Add functions for SHA512/256. The standard says you're supposed to start
with different magic numbers, so we need to add some functions instead
of just asking the user to truncate as desired. Sigh.
SHA512 is quite a bit faster than SHA256 on 64 bit CPUs,
but 256 bit hashes are usually quite sufficient. Best of both.
ok deraadt tom
8 years ago
bcook
2fb1937540
add iOS support for getentropy
from Jacob Berkman, ok beck@
8 years ago
ajacoutot
5ad88bff03
Add /var/syspatch to mtree(8).
OK many
8 years ago
guenther
9ee50544ec
Retire zaurus, as it hasn't made the EABI jump and will be permanently broken
shortly when we use the hardware thread register in userland
8 years ago
pirofti
0c9ae8d8cb
Add doas.conf example configuration file.
Discussed with and loved by many.
OK tedu@, tom@, deraadt@.
8 years ago
reyk
08ed721594
Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not
part of the original ISC license that we use in OpenBSD. Done for
files were Henning is the original author.
OK henning@ deraadt@
8 years ago