Age | Commit message (Collapse) | Author |
|
|
|
- Make an effort to protect important libc and ld.so critical areas during
the fork(2)/vfork(2) sys call.
- Add pthread_atfork(3) implementation based on Daniel Eischen's code.
Original diff by Philip Guenther <guenther at gmail.com> with some
additions and refinements by me. Positive test report from brad@ with
many kde apps. fork(2) and pthread_atfork(3) pthread regresses pass.
okay tedu@, kettenis@, marc@
|
|
|
|
(2^30,2^31). Nothing in the tree yet requests random numbers bounded
by this range.
report jakob!deraadt; ok deraadt@
|
|
getpeername(2) or getsockname(2). Its not needed and causes
threads to block when another thread is blocked and holding the
read lock. Instead just protect against fd state transitions.
Blocking problem reported by David S H Rosenthal from lockss.org
okay beck@ "looks sane" deraadt@
|
|
|
|
|
|
|
|
we support i386-compat mode on amd64.
agreed by beck@, dlg@, kettenis@
ok deraadt@, tom@
|
|
|
|
|
|
_C_LABEL and _ASM_LABEL, and add $OpenBSD$ RCS Ids.
Include <sys/errno.h> and use its values directly, instead of using .set
directives (which grow the individual .o files even)
Also, replace `$' in internal (but non static) symbols with `_', and prefix
those with `__'.
|
|
|
|
|
|
costs; ok jmc@ for the man page bits; ok millert@ deraadt@
|
|
|
|
Replace the non-portable hackery in __find_arguments() with a union.
From FreeBSD.
|
|
|
|
From Patrick Keshishian. OK pvalchev@
|
|
ok djm@ deraadt@
|
|
|
|
|
|
|
|
|
|
simple on/off, allowing more control over how verbose the logging is.
This also allows you to do a further level of filtering in syslog.conf
if you need to.
Also add logging of state changes, inspired by diff provided by
Brian A. Seklecki in PR 5513. These messages are logged by default.
ok henning mpf deraadt
|
|
ok espie@
|
|
ok otto@ espie@ millert@
|
|
- Make event_init return struct event_base *.
From the libevent SVN repo.
ok millert@
|
|
- Accept as well-formed DNS replies with questions but no answers.
- Fix for crash in evdns_resolve_reverse_ipv6().
- Move end of "extern C {" block to the end of evdns.h.
From the libevent SVN repo.
ok millert@
|
|
event.3: fix NAME and remove spurious blank line
|
|
get a timestamp of when the datagram was accepted (by udp(4), for
example) rather than having to take a timestamp with gettimeofday(2)
when recv(2) returns - possibly several hundreds of microseconds later.
May be of use to those interested in precision network timing schemes
or QoS for media applications. Tested on alpha, amd64, i386 and sparc64.
manpage suggestions from jmc, ok deraadt
|
|
"No objection" millert@
"the diff looks and works fine" reyk@
|
|
deleted files after a seekdir(); testcase produced by mbalmer@; fix
with and ok mbalmer; ok millert@
|
|
brk(2) returns an int value not a void *. brk(2) returns 0 upon success not
a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
|
|
sigprocmask(2) in threaded programs.
From Philip Guenther <guenther at sendmail.com> via PR library/5795.
okay marc@
|
|
sigprocmask(2) in threaded programs.
From Philip Guenther <guenther at sendmail.com> via PR library/5795.
okay marc@
|
|
upon a fd > SHRT_MAX. From freebsd via Jan Schaumann; ok deraadt@
millert@ espie@
|
|
feedback deraadt@ drahn@; ok deraadt@
|
|
|
|
resistant to prediction atacks by wrapping the existing LCG in a
random permutation generator based on a Luby-Rackoff block cipher.
lots of discussion and final ok deraadt@
|
|
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@
|
|
ok millert
|
|
callers may respond accordingly and correctly.
this fixes an issue where readdir_r() could not decipher the difference
between an error or no more entires.
feedback and ok kurt@, ok millert@
|
|
calls vfork(2). "untested, but looks OK" marc@
- document vfork(2), popen(3) and system(3) don't call atfork handlers
in multithreaded programs. okay jmc@
|
|
interafces. Otherwise, we end up with an extra copy in memory when
auth_call() forks that is not possible to clear.
|
|
- don't mess with the operational mode. that was primarily to be able to
set record|play mode for full-duplex, which isn't needed any more.
- don't set pause=1. this ioctl isn't supposed to be used for stopping
streams.
suggestions, ok ratchov
|
|
|
|
|
|
|
|
|