| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
that the old API (passing "" as the attribute name to the _get_
interface) is now deprecated (and was probably a bad idea).
Pointed out by: Dominic Giampaolo <dbg@apple.com>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
|
|
|
| |
Approved by: des (mentor)
|
|
|
|
|
|
| |
initialiazer.
Found by: tinderbox
|
|
|
|
|
|
| |
are destroyed.
Submitted by: tegge
|
| |
|
| |
|
|
|
|
| |
the same src/lib/libc_r/test/* tests that the other platforms pass.
|
|
|
|
| |
to a random memory location. Perl works a lot better with this.
|
|
|
|
|
|
| |
with the kind permission of the author/copyright holder.
Thanks to: phk
|
|
|
|
|
|
|
| |
hashing scheme used in Microsoft's NT machines. IT IS NOT SECURE!
DON'T USE IT! This is for the use of competent sysadmins only!
Submitted by: Michael Bretterklieber
|
|
|
|
|
| |
it's important the correct lock order is observed: lock first the joined and
then the joiner.
|
|
|
|
| |
The behaviour of this function is controlled by the argument: private.
|
| |
|
| |
|
|
|
|
|
|
| |
libthr. Oops, sorry about that.
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
|
|
|
|
|
|
| |
o Make sure the arguments to ctx_wrapper() are loaded from the
backing store by forcing an underflow. Do this by making all
registers in the register frame local.
|
|
|
|
|
| |
to mark a fully specified static link as dynamic; i.e. make
it a one-time link.
|
| |
|
|
|
|
|
|
| |
is not called, and no static rules match an outgoing packet, the
latter retains its source IP address. This is in support of the
"static NAT only" mode.
|
|
|
|
| |
Submitted by: bde
|
| |
|
| |
|
|
|
|
|
| |
PR: 51504
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
|
|
|
|
| |
the first time.
|
| |
|
|
|
|
| |
pam_ftp(8).
|
|
|
|
| |
Submitted by: Nadav Eiron <nadav@TheEirons.org>
|
|
|
|
| |
function pointer passed in.
|
| |
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Up to 8 arguments are allowed. This is the number of arguments
passed in registers. Subsequent registers are passed on the stack.
Trying to deal with this is not easy in C and likely forces us to
use assembly code. Let's avoid that for now. There's no indication
that more than 8 arguments is a strong requirement (Linux also has
an 8 argument limit).
o We expect that the stack base is 16-byte aligned and the stack
size is a multiple of 16-byte. We bomb out if this is not the case.
We probably want to be less strict by enforcing it ourselves. For
now it's better to not hide gross alignment bogons by silently
correcting it.
|
|
|
|
| |
a NOLIBTHR knob will prevent it from being built.
|
| |
|
|
|
|
| |
options.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
stale stdio descriptors flags.
PR: bin/51535
Submitted by: Enache Adrian <enache@rdslink.ro>
Reviewed by: deischen
Approved by: re (scottl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an excessive close() on one of these descriptors would cause
a memory for this descriptor to be allocated in the internal
descriptor table. When this descriptor gets used again, e.g.
through the call to open() or socket(), the descriptor would
be erroneously left in the blocking mode, and the whole
application would get stuck on a blocking operation, e.g.,
in accept(2).
Prevent this bug from happening by disallowing close() against
non-active descriptors (return -1 and set errno to EBADF in
this case).
Reviewed by: deischen
Approved by: re (scottl)
|
|
|
|
|
|
|
| |
a signal will can not be removed from thread list after it exited.
Reviewed by: deischen
Approved by: re (jhb)
|
|
|
|
|
|
|
|
|
|
| |
to a buffer in the big key/data case, memmove() was used on pointers
to size_ts, but only sizeof(u_int32_t) bytes where copied. This broke
on big_endian architectures where sizeof(size_t) > sizeof(u_int32_t).
This bug broke portupgrade (by way of ruby_bdb1) on sparc64.
Approved by: re (rwatson)
|
|
|
|
|
|
| |
my last commit.
Approved by: re (scottl)
|
|
|
|
|
|
|
|
|
|
|
| |
path, making them suitable for direct use by the dynamic loader.
Register libpthread-specific locking API with rtld on startup.
This still has some rough edges with signals which should be
addresses later.
Approved by: re (scottl)
|
|
|
|
|
|
|
|
|
| |
is called and the application is not threaded. This works around
a problem when an application that hasn't yet become threaded
tries to jump out of a signal handler.
Reported by: mbr
Approved by: re@ (rwatson)
|
|
|
|
|
|
|
|
| |
some strange reason recvmsg() never sets errno to EAGAIN
on a non-blocking socket and just returns 0.
Reviewed by: jhb
Approved by: re
|
|
|
|
|
|
|
|
|
| |
condition variables. Cosmetic.
Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't
encourage calls to the mutex functions with null pointers to mutexes.
Approved by: re/jhb
|
|
|
|
|
|
|
|
|
|
|
|
| |
from multiple threads don't initialze the same condition variable
more than once.
Explicitly compare cond pointers with PTHREAD_COND_INITIALIZER instead
of NULL. Just because it happens to be defined as NULL is no reason
to encourage the idea that people can call those functions with
NULL pointers to a condition variable.
Approved by: re/jhb
|
|
|
|
| |
Approved by: re/jhb
|