Age | Commit message (Collapse) | Author |
|
|
|
a sockaddr_dl is a questionnable interface. But now it makes it harder
to properly reference ifp becauses of this.
Set sdl_index to the index of the corresponding interface when
constructing a routing message.
Ridding previous libc crank.
ok guenther@, deraadt@, dlg@
|
|
|
|
|
|
OK dlg@
|
|
|
|
From Matt Caswell's OpenSSL commit "RT3192: spurious error in DSA verify".
https://github.com/openssl/openssl/commit/eb63bce040d1cc6147d256f516b59552c018e29b
|
|
|
|
's_time -verify 1' will now actually verify the peer certificate.
ok beck@
|
|
the map.
avoids a NULL deref jsg@ found
|
|
|
|
No binary change.
ok millert@ miod@
|
|
ok deraadt@ miod@
|
|
set). Since we cannot sleep in that case, use a mutex instead of an rwlock.
This is ok as the more complex code paths in the uvm code are not entered
for interrupt-safe maps as paging isn't allowed in those maps.
ok tedu@
|
|
|
|
of date that can't be helped.
|
|
while here, i've adjusted the formatting of one list
|
|
multiple lines of input, in particular, don't use macros below .Nd;
such bad style can confuse various apropos(1) tools. All deleted
macros reappear later in the text, anyway, except for .Tn, which i'm
deleting outright.
Found while scanning the tree for good and bad practices in preparation
for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm.
|
|
ok mpi@
|
|
this is a bit funky cos we give up the ref while sleeping in tunread,
and have to get a new ref on wakeup.
ok claudio@
|
|
ok mpi@
|
|
ok mpi@
|
|
ok claudio@
|
|
ok mpi@
|
|
ok mpi@ claudio@
|
|
ok claudio@
|
|
is defined), and make this work on unsigned char platforms by using
isascii() instead of < 0.
While there, do not use the local getopt() implementation, as libc has had
getopt_long() support for years now.
With help from jca@ and guenther@. ok millert@, deraadt@ (on an earlier diff)
|
|
Requested by bluhm@
|
|
|
|
It has already been initialized in the MD readdisklabel() routines
when they call initdisklabel().
ok deraadt@
|
|
pointer.
ok bcook@ miod@
|
|
|
|
ride upcoming minor bump
ok jsing@
|
|
tls_read() fails, print the tls_error() rather than just the return value.
ok beck@
|
|
|
|
supported function.
|
|
|
|
|
|
|
|
this avoids the problem of people checking for return values < 0
and then checking for errno before checking for TLS_READ_AGAIN
TLS_WRITE_AGAIN - since we can not guarantee what errno will be
set to from the underlying library calls
|
|
|
|
which results in tame() code placements being much more recognizeable.
tame() can be moved to unistd.h and does not need cpp symbols to turn the
bits on and off. The resulting API is a bit unexpected, but simplifies the
mapping to enabling bits in the kernel substantially.
vague ok's from various including guenther doug semarie
|
|
|
|
ok jsing@
|
|
prodded by miod@
|
|
|
|
Delete the already hidden _signal alias too.
ok deraadt@ millert@
|
|
OK semarie@, deraadt@
|
|
if_get can get a reference to an ifp, but it never releases that
reference. this provides an if_put function that can be used to
decrement the refcount.
we cannot come up with a scheme for letting the network stack run on
one (or many) cpus while ioctls are pulling interfaces down on another
cpu without refcounts for the interfaces.
if_put is going in now so we can go through the stack and put the
necessary calls to it in, and then we'll backfill this implementation
to actually check the refcounts when the interface detaches.
ok mpi@ mikeb@ claudio@
|
|
obvious "indent", not "ident", was intended); instead of this use
the macro Ds as the indent is an offset -- fixes indentation
of uuencode(1) and uudecode(1) options.
ok jmc@
|