djm
468ab01728
constrain fractional part to [0-9] (less confusing to static analysis); ok ian@
6 years ago
benno
04aba995ed
don't put options in here that should not be needed in the majority of
cases and will just be copied by users without thinking.
ok claudio@
6 years ago
kettenis
9bce2fbaa9
Add std.1500000 entry, mostly because of firmware constraints on various
Rockchip ARM SoCs.
ok millert@, deraadt@
6 years ago
denis
f814382efe
Add a missing header when compiling with -DDEBUG
With advice from jca@
OK jca@ millert@
6 years ago
schwarze
369994e74f
stop installing /etc/networks, it is now unused; OK deraadt@ tb@
6 years ago
rpe
728f495514
Add a proper usage() function.
Suggested by and OK jmc.
OK tb
6 years ago
ajacoutot
c930cc9e34
spaces->tab
ok kettenis@+florian@'s OCD
6 years ago
florian
b45fb6b071
"listen on * port 80" means all v4 and v6 addresses these days.
OK benno
6 years ago
otto
dbc5faf4ac
sys/uio.h is not used anymore
6 years ago
jsg
376907d69e
adapt armv7 manual pages for arm64
6 years ago
dtucker
8324e3ea4f
Import regenerated moduli file.
6 years ago
otto
79b103c901
fix MALLOC_STATS; spotted by and ok semarie@
6 years ago
florian
7e2a5e7e2d
Add aggressive-nsec example block.
While here, qname minimisation is an RFC since some time.
tweak & OK sthen
6 years ago
deraadt
8b1b18f87e
probably the correct date
6 years ago
florian
26292f37a1
Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno
6 years ago
claudio
c9a2eca5f1
Since a while relayd switched from the TLS session cache to using only TLS
session tickets instead. Adjust example relayd.conf file.
From Matt Schwartz, reminded by jmc@ OK deraadt@
6 years ago
mpi
7a2dbe746e
Consistently spell "IPsec" in comments and debug outputs.
From Raf Czlonka, ok sthen@
6 years ago
robert
fda1a6ede1
add syspatch public keys for 6.3 and 6.4
6 years ago
tj
f3a21c728f
remove 6.0 keys
6 years ago
bcook
becf8cef00
ensure SYS_getrandom and GRND_NONBLOCK are both defined before using getrandom(2)
Based on discussion here https://github.com/libressl-portable/openbsd/pull/82
Suggested fix from jsing@
6 years ago
kettenis
d9ddac82be
Implement sicos(3), sincosf(3) and sincosl(3). These functions are common
extensions and modern compilers (such as clang) will use them to optimize
separate calculations of sine and cosine.
ok tom@, patrick@, deraadt@, jmc@
6 years ago
deraadt
d6aeb76165
use _ALIGN() which is uhm a bit OpenBSD-specific, but it means we
don't need to use sys/param.h at all, guess which one i believe is
greater namespace polution
ok otto
6 years ago
deraadt
02c2718077
Use _MAX_PAGE_SHIFT, rather than #ifdef mips64
ok guenther kettenis
6 years ago
deraadt
04e34b8297
#define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch
needs (looking at you sgi, but others required this before). This is for
the circumstances we need pagesize known at compile time, not getpagesize()
runtime. Use it for malloc storage sizes, for shm, and to set pthread stack
default sizes. The stack sizes were a mess, and pushing them towards
page-aligned is healthy move (which will also be needed by the coming
stack register checker)
ok guenther kettenis, discussion with stefan
6 years ago
jmc
4f90eb9712
when -n is used, no need to spit out "Missing parameters." before
displaying usage();
ok tb
6 years ago
landry
ef55c3f3d3
Lowercase 'usage' and group -n with interface in it.
From jmc@, ok tb@
6 years ago
naddy
cfb5baa452
OpenBSD 6.4 packages key
6 years ago
deraadt
4412da1cde
openbsd 6.4 base key
6 years ago
sthen
5543d472dd
add 6.4 firmware key
6 years ago
deraadt
e36f1b600c
move to 6.3-beta
6 years ago
rpe
e36efedce7
Tweak comments.
OK tb
6 years ago
jsg
85b83fc0ab
add bsd.mp
6 years ago
sthen
7299a2f2d8
Call "vmctl stop" on each VM at shutdown, for OpenBSD guests this means they
are signalled to shutdown cleanly. Wait for each to finish to avoid too much
busy work at once; this may need revising if it turns out to be too slow with
a larger number of VMs (e.g. signal/delay/signal/delay/... then wait for
shutdowns), but let's avoid making it more complex unless we know it's needed.
Based on a diff from abieber@, discussed with mlarkin@ aja@ rpe@, ok rpe
6 years ago
rpe
0b9145153e
Write warning/error messages to stderr and end them with a fullstop.
OK tb
6 years ago
rpe
988ee6a06b
- use specific patterns when looping over /etc/hostname.if files
to skip backup or temp files.
- test if the patterns matched actual files
- warn if ifcreate() fails on an interface and continue with the
subsequent interfaces in the list instead of return'ing
OK dlg sthen tb
6 years ago
kn
775ea3cbc9
zap *_path() functions
These PATH helpers failed to quote their input properly leading to shell
code execution. Noone noticed since import (over 21 years ago), so wipe it.
OK tb rpe
6 years ago
rpe
88be1e7ada
Remove unecessary line continuation markers after || and &&
6 years ago
rpe
e21736f3c1
- Add descriptions for the new functions ifcreate() and vifscreate()
- In ifcreate() use the exit code of the {} block directly
- In vifscreate(), use the ifconfig -C output directly in the for _vif loop
- Remove superfluous and somewhat confusing comment
OK dlg kn sthen
6 years ago
nicm
2c571a29e6
Fix function argument names, from Abel Abraham Camarillo Ojeda via jmc@.
6 years ago
dlg
29613cf71b
create virtual interfaces before starting all interface config.
this resolves an ordering problem when adding pseudo interfaces to bridges
tweaks from kn@
ok mpi@ sthen@
6 years ago
claudio
ed838896fa
Remove some special IPv4 in IPv6 mapped prefixes that are already rejected
by the ::0.0.0.0/96 reject route added to deny all IPv4 mapped addresses.
Makes the inet6 routing table almost fit in one screen.
OK benno@
6 years ago
florian
f95d9f00de
Load RFC 7217 key material and generate if it does not already exist.
Add soii.key to changelist (pointed out by semarie) and mtree/special
(suggest by Craig Skinner).
OK naddy, sthen, rpe, tb
6 years ago
otto
e06d7bccfa
use consistent style for for loop in unmap(), no functional change
6 years ago
tb
448ced64cc
Print an explicit error if the backup volume is not present in
hw.disknames. This can only happen due to a failure or user error.
In either case, silent failure makes it hard to discover and debug.
Now it will be easy to spot in the daily mail.
ok rob, schwarze
6 years ago
tb
a191b4c4cb
If -n is given, the netstart script should not (try to) set the default
route(s). Simply print the command(s) to be issued instead.
tweak & ok rpe
6 years ago
yasuoka
ff4f4e92a5
Remove . from $PATH since it seems there is no strong reason to keep
it and many people prefer to remove it. Pointed out by m-asou at
soum.co.jp.
ok millert espie bluhm
7 years ago
otto
be36452872
keep in sync with ld.so malloc.c
7 years ago
jmc
b78237bf7e
word fix; from edgar pettijohn
7 years ago
otto
22e454653c
- An error in the multithreaded case could print the wrong function name
- Start with a full page of struct region_info's
- Save an mprotect in the init code: allocate 3 pages with none and
make the middle page r/w instead of a r/w allocation and two calls to make the
guard pages none
7 years ago
otto
fbdda17fd8
- do not junk pages returned by free_bytes(), all freed chunks are already
junked
- freezero(): only clear requested size
7 years ago