kettenis
f82a07efc6
Implement a DL_REFERENCE dlctl. To be used by the upcoming
__cxa_thread_atexit() implementation.
ok guenther@
7 years ago
tb
3bd9248dcf
GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections
with "warning: " since 2003, so the messages themselves need not
contain the prefix anymore.
From Scott Cheloha
ok jca, deraadt
7 years ago
florian
e818628c0a
Remove deprecated agreement url.
"nice" deraadt@
OK benno
7 years ago
florian
17bfed7a98
Update agreement URL; pointed out by sthen.
OK benno, sthen
7 years ago
naddy
336ba1975a
sync
7 years ago
naddy
8f334ac980
Remove /dev/arandom symlink. Nothing in base, xenocara, or ports uses
/dev/arandom any longer. ok deraadt@
7 years ago
tb
1899183cf3
Remove HN_DIR variable and expand it in the only place it was used. It
currently serves no purpose.
ok rpe, agreement from deraadt and halex
7 years ago
mlarkin
f3bb25bd24
update switch handling in vmd(8). vmd now gets switch information (rdomain,
etc) from underlying switch interface instead of handling this on its
own.
Diff from carlos cardenas, Thanks!
ok reyk@
7 years ago
tb
a31160a22f
kill trailing whitespace introduced in previous commit
7 years ago
rpe
f6b274d475
Use a variable for /usr/share/relink
OK tb@
7 years ago
rpe
7f40093642
Remove the ':' at the beginning of ksh.kshrc.
prodded by Raf Czlonka
OK tb@
7 years ago
rpe
88c4af670c
Consolidate lib.so.*.a, ld.so.a and the kernel relink kit into
one location under /usr/share/relink.
Be more specific in src/etc/rc reorder_libs() what filesystems
need r/w remount and ensure that their mount state is restored.
Idea and positive feedback from deraadt@
OK aja@ tb@
7 years ago
jca
c18926b37f
Revert recent changes to unbreak ports/net/samba
While it is not clear (to me) why that ports ends up with corrupted
shared libs, reverting those changes fixes the issue and should allow us
to close p2k17 more smoothly.
Discussed with a bunch, ok ajacoutot@ guenther@
7 years ago
mpi
0d9e55fce9
sync
7 years ago
mpi
210ce1b3fd
Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not
upgrade with bsd.rd
Adapted from NetBSD by miod@
7 years ago
otto
d5460018ef
's' should include 'f'; from Jacqueline Jolicoeur
7 years ago
tb
1decb82f6e
Replace ps | grep with pgrep and use && instead of if-then-fi.
From Raf Czlonka.
ok halex
7 years ago
guenther
88624e3e2e
Change pthread_cleanup_{push,pop} to macros that store the cleanup info
on the stack instead of mallocing the list and move the APIs from libpthread
to libc so that they can be used inside libc.
Note: the standard was explicitly written to permit/support this
"macro with unmatched brace" style and it's what basically everyone
else already does. We xor the info with random cookies with a
random magic to detect/trip-up overwrites.
Major bump to both libc and libpthread due to the API move.
ok mpi@
7 years ago
bluhm
5630e21f13
Partially revert rev 1.457 of /etc/rc. The pipe introduced in
sysctl_conf() spawns a subshell. This prevents that the new process
limits affect the daemons started during boot.
OK rpe@ halex@
7 years ago
millert
97fa8ef41e
Don't let close(2) clobber errno. Some calls were already protected
but not all. From Peter J. Philipp.
7 years ago
jsing
edffe314c0
Restore a return that was inadvertently removed from freezero() in r1.234,
which results in an internal double free when internal functions are not
in use.
ok otto@
7 years ago
mpi
51cd26e7b1
<elf.h> should make it easier to port our ELF-related tools to other Unices.
For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.
ok deraadt@, jasper@, naddy@
7 years ago
krw
eba453246d
Remove stray, pointless and potentially confusing line.
7 years ago
naddy
ef4eecc551
sync
7 years ago
naddy
601dbc0874
Make it explicit that there is only one type of random device:
Create only /dev/urandom as device.
Create /dev/random and /dev/arandom as symlinks.
Drop /dev/srandom, which has been unused for a long time.
/dev/arandom will go away at a later point.
Discussed with guenther@, ok deraadt@
7 years ago
guenther
3986062c3f
Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content
ok mpi@
7 years ago
rpe
863fd0a08e
The testprogram for ld.so reordering is executed in tmpdir.
Move tmpdir for reordering library from /tmp to /usr/lib.
This allows to have /tmp mounted noexec.
prompted by reports on misc@
OK deraadt@ tj@ tb@
7 years ago
schwarze
7fd11d9f24
Add STANDARDS: denis@ spotted that it was missing.
OK deraadt@ jca@ jmc@
7 years ago
rpe
bcb957754b
Move comment line and spacing.
7 years ago
visa
0def5ff261
Make cacheflush(3) and get_fpc_csr(3) manual pages available on octeon.
OK deraadt@
7 years ago
naddy
0b0d57fe82
Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@
7 years ago
otto
437fad2669
do not return f() where f is a void function; loop var type fix
7 years ago
otto
09620f7263
Use dprintf instead of snprintf/write
7 years ago
phessler
f8314720c5
SPI values 0-255 are reserved, so change the example to use a valid one.
fixes parsing of the example configuration
OK benno@
7 years ago
otto
3b6bc929b8
Make delayed free non-optional and make F do an extensive double free check.
ok tb@ tedu@
7 years ago
phessler
c08be5b57b
fix the example neighbor configurations
noticed by Alex Holst
OK henning@
7 years ago
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