Age | Commit message (Collapse) | Author |
|
|
|
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@
|
|
|
|
ok claudio@
|
|
to be a way of feeding it with a valid argument without peeking into the
internals of ifmedia macros.
ok mpi miod deraadt
|
|
The SIOCGIFSTAT_ICMP6 is no longer supported.
ok dlg@, mikeb@, claudio@
|
|
direction & ok guenther
|
|
sgi, are identical. Put one implementation in mips64 and drop the
platform-specific copies, to remove duplicated code.
ok miod@
|
|
ok deraadt@
|
|
ports scan by sthen@
|
|
as needed.
ok miod guenther
|
|
is marked with '*'
due to comments from sthen and kettenis
|
|
with the simple facts a user needs.
ok kettenis krw
|
|
From Michael McConville
|
|
the root disk question) got some extra linefeeds in it. This fixes the
output to be one line per disk again.
ok krw@
|
|
#ifndef pmap_resident_count code paths.
|
|
version which is then added to a global struct msghdr. Issue found by
Michael McConville. OK florian@ tobias@
|
|
passed a socket then the caller is responsible for closing it.
ok bcook@
|
|
|
|
ok otto@ deraadt@
|
|
|
|
We do not export those per-ifp statistics and they will soon all die.
"We're putting inet6 on a diet" claudio@
ok dlg@, mikeb@, claudio@
|
|
for now; misunderstanding between guenther@ and me.
|
|
|
|
this replaces the hand rolled list. the code has always used hand
rolled lists, but that gets a bit cumbersome when theyre SRPs.
requested ages ago by mpi@
|
|
|
|
this allows us to build lists of things that can be followed by
multiple cpus.
ok mpi@ claudio@
|
|
handle 8192 bytes messages. Rename the sendsyslog(2) tests
consistently.
|
|
|
|
syslog(3) limit to the same size. The buffer needs one byte more
as it conains a NUL that sendsyslog(2) does not process.
OK deraadt@
|
|
compatible with the Secure-PLT ABI.
|
|
|
|
no longer have to use mprotect(2) to take away PROT_WRITE. This fixes ld -Z
and paves the way for the new Secure-PLT ABI.
ok miod@
|
|
This will make the segment containing those sections read-only for binaries
that use the OpenBSD W^X layout, preventing W^X violations on architectures
that need an executable GOT (basically BSS-PLT powerpc).
ok miod@
|
|
from column A and something from column B".
ok miod@ deraadt@
|
|
or UDP socket or UNIX domain socket at once.
|
|
r2 is zero. Some upcoming changes will probably change the offset at which
the errno pointer is stored, or might even store errno directly. Instead,
call __errno to get the location of errno. Make sure we go through the PLT
such that we call the version in libpthread if it is linked in. Set up r30
for this purpose. The ___cerrno function itself remains protected.
ok guenther@
|
|
checks the send buffer size. So double both buffer sizes.
Moreover the default for sending is 2048 and for receiving is 4096.
This makes the existing double buffer algorithm inconsistent. It
is better to make the buffers large enough to hold 8 full length
messages. Just make sure that it does not shrink.
Keep the approach that doubles the buffer sizes. When we are low
on buffers and cannot reach the full size, increase it as much as
possible.
While there, add consistent error messages.
OK benno@
|
|
|
|
|