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
beck
87d4db25c4
Remove the libcrypto/crypto directory
8 years ago
goda
1ee5dae778
sync
8 years ago
goda
25564e898f
Add switch(4) cdev entry
ok deraadt@ yasuoka@ reyk@
8 years ago
tb
1a5c26b282
move links from http to https://www.openbsd.org/
ok beck
8 years ago
sthen
e8a3db8fd0
sync
8 years ago
otto
7f29e95497
Less lock contention by using more pools for mult-threaded programs.
tested by many (thanks!) ok tedu, guenther@
8 years ago
tedu
6c73827bf7
black magic for sparc page size can go
8 years ago
deraadt
5afcb6a981
remove sparc pieces
8 years ago
florian
f48ccdaa74
create acme-client directories
8 years ago
ajacoutot
a5540258b4
use tab.
8 years ago
guenther
487debcae6
Use a constant format string and output the variable part with %s
ok krw@ millert@
8 years ago
guenther
98ac59d5a1
Use O_CLOEXEC when opening fds local to a function
ok jca@ krw@
8 years ago
guenther
4c8fdca0ed
Don't call lstat() before readlink() just to see if it's a symlink,
as readlink() will tell you that more cheaply.
ok millert@
8 years ago
guenther
fc8c3ff4cb
Pull in <sys/select.h> for fd_set
ok deraadt@
8 years ago
guenther
b73a72cf6b
Pull in <stdio.h> for NULL
ok deraadt@
8 years ago
guenther
2f48ecaf36
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
8 years ago