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
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