Age | Commit message (Collapse) | Author |
|
ok deraadt jmc millert sobrado
|
|
|
|
running, then we need to start a gc thread...except when this is
the very call to start a gc thread!
"This works for me" marc@
|
|
including the scheduling timer, sigmask, fd nonblocking status, and
handling of the signals used by the thread library.
ok marc@, additional testing by ajacoutot@
|
|
From their change log:
o Fix memory-leak of signal handler array with kqueue. [backport]
o Make evutil_make_socket_nonblocking() leave any other flags alone.
o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking().
o Re-add event_siglcb; some old code _was_ still using it. :(
o Fix a free(NULL) in min_heap.h
o Clean up properly when adding a signal handler fails.
Also a local change to use an int rather than a long for fcntl().
ok guenther deraadt
|
|
as the child only has the one thread remaining.
ok marc@
|
|
cases fixed in gcc4.
|
|
From Nicolas Legrand <nlegrand@ethelred.fr>; ok jmc@
|
|
difference between audio files and client connections. Clean up
the way command line options are handled and clarify this in the
manual page: stream parameters (-Ccehjmrtvx) must precede stream
definitions (-ios) and per-device parameters (-abz) and stream
definitions (-ios) must precede device definitions (-f). Since
there's no ``server'' and ``non-server'' modes anymore, make the
-l option just detach the process.
ok and help from jakemsr and jmc
|
|
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
thereby rendered superfluous
ok blambert@
|
|
|
|
SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return
EFAULT for a page fault. The kernel code will soon be put into
compat, and then in 10 years or so tedu will delete it.
ok guenther millert
|
|
|
|
|
|
This is code mostly picked up from upstream OpenSSL, or to be more exact
a diff from David Woodhouse <dwmw2 at infradead dot org>.
Remember to make includes before doing a build!
no objections from djm@
OK deraadt@, reyk@ (AES is about 4.25x faster on his x201 now)
|
|
|
|
|
|
getpeereid(2), but also supplies the remote pid. This is supplied in
a 'struct sockpeercred' (unlike Linux -- they showed how little they
know about real unix by calling theirs 'struct ucred').
ok guenther ajacoutot
|
|
on a 128-bit boundary like we do on amd64. The padding within the struct
made sure the state was properly aligned *within* the struct, but since the
alignment restriction on the struct itself was only 64-bit, the required
alignment was not guaranteed. We just got lucky.
ok oga@, guenther@
|
|
|
|
|
|
ok deraadt
|
|
|
|
|
|
|
|
KERN_FILE2 (or their libkvm wrappers) for more information than the
running implementation knows how to provide.
ok millert@ deraadt@
|
|
|
|
|
|
with suggestions from miod.
The codepath doesn't seem to be called yet, this will be
investigated later.
looks good miod@, ok deraadt@
|
|
ok krw@ millert@
|
|
execve(), just set the close-on-exec flag. Fixes PRs 6183 and 6376.
ok marc@, "seems clearly better" tedu@
|
|
version require these flags to accept the X.509 certificates from the
gateway or client; I just add both flags to make it work in both cases
and verified it with win7, for example when authenticating against iked.
go ahead beck@
|
|
ok deraadt nicm
|
|
ok ryan theo & herr reyksminister
|
|
ok deraadt@
|
|
open /dev/diskmap and perform a DIOCMAP ioctl in order to open the actual
device. As a result, all programs which make use of opendev(3) can now
operate with disklabel UIDs.
Feedback from millert@
ok millert@ krw@ thib@
|
|
complicated. Instead, request clients to provide enough samples
and start with buffers full.
|
|
|
|
Add a new ``initial position'' message which is simpler. No bahaviour
change, except effects of the protocol version crank.
|
|
|
|
and would otherwise result in overflowing the end pointer and
cause strnlen() to return 0. OK sthen@
|
|
invite conflicts, they are rarely used, can trivially be replaced by
evtimer_*, and are deprecated and removed from event.h in later libevent
versions.
ok guenther deraadt
|
|
|
|
attribute then make pthread_create() return EINVAL instead of whatever
was in errno on entry (possibly making it appear it succeeded when it
really failed). Encountered by Jung (moorang at gmail.com).
|
|
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
|
|
corner cases that were fixed in gcc4, and changes in libgcc that we may have
missed.
ok kettenis@
|
|
|
|
to exist before exit for malloc to dump stats in it.
tweaks from jmc@
ok otto@,jmc@
|
|
ok deraadt@
|