otto
4a127addf3
mapalign returns MAP_FAILED for failuer; from George Koehler
7 years ago
otto
d1f95e32d7
check double free before canary for chunks; ok millert@
7 years ago
schwarze
2aa0509b2c
str[n]casecmp_l(3) appeared in POSIX 2008, not in XPG 4;
phessler@ reported that this oversight broke an armv7 bulk build;
OK guenther@
7 years ago
jmc
a333c4129f
ntpd has been on by default for over two years now, so rework
the text about enabling it;
ok deraadt
7 years ago
schwarze
371b65730c
New POSIX xlocale implementation written from scratch.
Complete in the sense that all POSIX *locale(3) and *_l(3) functions
are included, but in OpenBSD, we of course only really care about
LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@.
Repeated testing in ports bulk builds by naddy@.
Additional testing by jca@, sebastia@, dcoppa@, and others.
OK kettenis@ dcoppa@, and guenther@ on an earlier version.
Riding guenther@'s libc/librthread major bump.
7 years ago
schwarze
909afec908
delete pointless .Tn ASCII found by jca@ with mandoc -Tlint
7 years ago
jsg
4d8e673577
Remove the miniroot for the OMAP3 BeagleBoards. Ethernet is on USB and
USB isn't supported. The installer turns out to have been broken on
BeagleBoard for over a year and no one noticed. The existing support
for OMAP3 in the kernel remains though it isn't clear if anyone has
tried it after the fdt changes went in.
ok patrick@ tom@ kettenis@ matthieu@
7 years ago
jca
74793c8931
Mention strtok_r in STANDARDS
POSIX 2001 instead of POSIX.1c suggested by millert@ and jmc@, ok jmc@
7 years ago
rpe
54754f0ccd
Based on previous work from deraadt, add relinking of ld.so to
reorder_libs() resulting in a unique ld.so on every system start.
Idea from and OK deraadt@
OK tb@
7 years ago
ajacoutot
93980c1b5a
Display that we are running the upgrade scripts when they exist. On slowish
machines, running sysmerge(8) can take a little while so don't let people
wonder about why the output seems stuck.
ok sthen@ tb@ rpe@
7 years ago
jca
d0b275024f
Sync emacs package version
(again...)
7 years ago
sthen
0bcaa61e49
add new firmware key
7 years ago
naddy
74a8628d0d
add 6.3 packages key
7 years ago
rpe
aed0f4a7fe
Move the kernel relinking code from /etc/rc into a seperate script
/usr/libexec/reorder_kernel. Requested by ajacoutot@ to be able to
relink the kernel from within syspatch(8).
OK deraadt@ tb@
7 years ago
rpe
32a541ebe6
add basedir of the kernel link-kit
requested by ajacoutot@
OK tb@
7 years ago
deraadt
b29dfecf0f
5.9 pubkeys no longer needed
7 years ago
deraadt
1cf47b0648
add 6.3 base key
7 years ago
rpe
a28bfc1508
Simplify the code for stopping daemons listed in pkg_scripts in
reverse order on shutdown.
OK aja@ tb@
7 years ago
deraadt
a8805d8fee
crank to 6.2-beta
7 years ago
otto
83cbddd78e
two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clang
7 years ago
deraadt
d1415dac00
crank memory limits
7 years ago
guenther
f3645329ae
Use sendsyslog() directly instead of syslog_r() for the "backwards memcpy"
messages, to avoid pulling in piles of other machinery unnecessarily
problem observed by schwarze@
ok deraadt@ millert@
7 years ago
guenther
2f8ee43fe4
Minimize #includes, particularly to avoid thread_private.h
ok tedu@
7 years ago
job
a92396dccb
Add manpage update for new grouping feature '{from,to} {i,e}bgp'
OK phessler@
7 years ago
naddy
8082e34065
zero out sockaddr_in before use; fixes use of stack garbage as port number
in "query from"; ok phessler@ job@
7 years ago
job
90b075737d
naddy@ reported confusion on why "query from" seemed to be ignored in
some cases.
OK naddy@ henning@
7 years ago
guenther
1188ef2cfa
fix typo in comment
7 years ago
guenther
bf5a7be1d5
___errno (three underbars) is long gone
7 years ago
jsg
0c990700b2
add /usr/X11R6/share/libdrm for recent libdrm versions
7 years ago
schwarze
932461687c
add missing and correct misspelled names, most in NAME sections;
found with regress/usr.bin/mandoc/db/dbm_dump;
OK jmc@
7 years ago
rpe
5092490691
Finally remove backwards compat code to support the 'rtsol' keyword
in hostname.if(5)
OK mpi@ deraadt@ florian@
OK jmc@ from doc perspective
7 years ago
jmc
2ee2396122
zap trailing whitespace;
7 years ago
tedu
bce15ce0c1
rework the page a bit, clarify a few things, maybe better wording
7 years ago
rpe
d4e0fc8cd9
Align ifstart() in netstart and install.sub.
- in netstart, rename _file to _hn referencing hostname.if files
- in install.sub switch ifstart() to be used with _if instead of
_hn as parameter
ok krw@ tb@
7 years ago
mikeb
c405c359bb
sync
7 years ago
mikeb
303b18a365
Multiple virtualization layers may be available at the same time
reachable through different pvbus device nodes.
Suggestion and OK deraadt, OK reyk
7 years ago
zhuk
29483b4ca8
Use a bit better idiom to get most recent version of the library
being reordered.
okay tb@ deraadt@
7 years ago
rpe
806147ab82
Use numerical sysctl output to check for nfs mounts.
OK tb@
7 years ago
rpe
1f2252a387
Tweak previous.
7 years ago
rpe
f9b7ee64d7
Use a more compact way to compose the initial pf ruleset.
Diff from Klemens Nanni
OK tb@ zhuk@
7 years ago
tb
af7a0fc700
Now that choosing the library versions is much faster, we can do
it after remounting the filesystem containing /usr/lib as rw:
the former is pointless if the latter should happen to fail.
From Klemens Nanni
ok rpe
7 years ago
tb
33c5e85118
Optimize and simplify the selection of the latest library version in
reorder_libs().
From Klemens Nanni with input from rpe.
ok rpe, zhuk
7 years ago
tb
c29a36dba0
Replace some `eval` with $(eval) for consistency and use
parameter expansion instead of basename(1). From Raf Czlonka
ok rpe
7 years ago
bluhm
86bc4f22d3
Test if an acct file exists before trying to rename it. This silences
false warnings in the frist three daily mails after process accounting
has been turned on.
from Raf Czlonka
7 years ago
otto
131bcbfdc1
one more instance of the previous commit; also initialize ->offset to a
definite value in the size == 0 case
7 years ago
florian
2b5d6b8a65
Increase size to make slaacd fit.
Size problem noted by me, correct fix from deraadt@
7 years ago
otto
4a550fa72d
Only access offset if canaries are enabled *and* size > 0, otherwise offset
is not initialized. Problem spotted by Carlin Bingham; ok phessler@ tedu@
7 years ago
millert
c212aadd9a
The 0x (or 0X) prefix in base 16 is optional so only skip over the
prefix if the character following it is a valid hex char. The C99
standard is clear that given the string "0xy" zero should be returned
and endptr set to point to the "x". OK deraadt@ espie@
7 years ago
tb
5d484dd9ea
void functions don't return 0
From Klemens Nanni
7 years ago
rpe
1f01084ede
Switch reorder_kernel() from sending emails to logging via syslog
and to write the logfile inside the kernel compile dir.
- turn the whole reorder_kernel function into a subshell {} -> ()
- create kernel compile dir early on
- redirect all stdout/stderr to a logfile inside this dir
- setup ERR trap handler that
- disables the EXIT trap handler
- syslogs the error and hints to the logfile
- additionally sends this message to the console
- setup EXIT trap handler that syslogs success
- wipe only the content instead of the whole kernel compile dir
- reestablish stdout redirection to the log after the wipe
- remove -q option of sha256 to log check result
- run reorder_kernel() in the background
OK deraadt@ tb@
7 years ago