Age | Commit message (Collapse) | Author |
|
values or features that POSIX now requires to always be provided.
From Brad; ok guenther and me; incorporates feedback from millert too
|
|
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
Pointed out by Jorden Verwer on tech@
ok deraadt; no objections from djm or otto
|
|
diff from Florian Obser, ok jmc@
|
|
using inet_pton() and inet_ntop() as suggested by claudio
ok claudio@
|
|
|
|
okay jasper@
|
|
clear out the entire requested area, not just a perfect fit. second,
use mquery to check for room to avoid getting an address we don't like
and having to send it back.
|
|
|
|
|
|
goop is in librthread. As a result, the top-level Makefile and
shlib_version here are simply very confusing and tell lies. Remove
them, and update the instructions in libc to not make my mistake
again.
ok guenther
|
|
so that it can't get a signal while still running on the parent thread's
stack. Also, pass in sizeof(struct __tfork) to provide forward compat
when more members are added. This is an ABI change, so switch syscall
numbers and bump lib majors this time.
ok deraadt@ matthew@
|
|
in order to span the the entire cache. second, on free use the same offset
to put things in the cache instead of always starting at zero.
ok otto
|
|
|
|
overallocating and then releasing unneeded memory pages.
ok otto
|
|
ok gilles@
|
|
ok pig(6)
|
|
ok jmc
|
|
Bulk build test by naddy.
|
|
|
|
(brad reminded me we have strerror_r too).
|
|
|
|
|
|
|
|
on descriptors, this can be achieved thanks to the new getdtablecount()
system call. application may provide a reserve count to ensure that the
recvmsg() call is not called when they don't have enough descriptors to
work properly.
change the API so that transient errors that can be retried immediately
are retried within the function right away, whereas transient errors for
which the application may want to take action will set errno to EAGAIN.
ok deraadt@ and henning@
|
|
rthreads fix. Update to the correct one.
|
|
Update SYNOPSIS for setkey() to show it's in <stdlib.h>
ok jmc@, millert@
|
|
ok haesbaert jmc henning
|
|
and valloc() are not in the current version, while posix_memalign() mkstemp(),
and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'.
ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
|
|
|
|
local changes: strncpy() -> strlcpy(), malloc(x * y) -> calloc(x, y),
exclude cross-platform cruft, etc.
The new functions are pcap_create(), pcap_set_snaplen(),
pcap_set_promisc(), pcap_can_set_rfmon(), pcap_set_rfmon(),
pcap_set_timeout(), pcap_set_buffer_size(), pcap_activate(), and
pcap_statustostr().
This diff was tested on amd64, i386, macppc, and sparc64, where
regression tests were done on various pcap-based ports (especially amd64
and i386 where regression tests were run on all pcap-based ports).
Testers also tried running pcap-based ports that they are familiar with
to ensure that there is no behavioral change. tcpdump and pflogd in
base were also tested by different testers. The new pcap_* functions
were tested with a proof-of-concept Snort 2.9 port for many months.
Thank you to everyone who helped test this diff and provided feedback:
haesbaert@, sthen@, matthew@, gonzalo@, brett@, Rodolfo Gouveia,
Aaron Bieber, Markus Lude, and Ray Percival.
ok haesbaert sthen henning
|
|
visible interface, not "officially" published, but still... technically
visible.
Better safe than sorry: major bump.
as prodded/discussed with deraadt@
|
|
reminded by deraadt@
|
|
as NULL has. This will (hopefully) simplify ports where the user
passes the device string.
|
|
on non-UNIX systems: it's a complex type on Linux, and to be C99
compliant we'll probably need it to be a complex type too.
|
|
Diff from Tim van der Molen.
|
|
|
|
end of file to make sure the include file hasn't been altered.
problem reported by landry@, deraadt@
|
|
|
|
|
|
|
|
LONG_MAX. Also, remove an Alpha-specific optimization that only saves
a couple of bytes of code size.
ok millert, guenther
|
|
ok guenther, millert (and me); bulk build test by naddy
|
|
environment variable, so stop using the /dev/audio symlink which
can't be used by sndiod(1) anyway
|
|
|
|
Implementation, documentation and naive regression tests for:
- pthread_spin_init()
- pthread_spin_destroy()
- pthread_spin_lock()
- pthread_spin_trylock()
- pthread_spin_unlock()
Implementation okay guenther@, documentation okay jmc@.
|
|
at the top of closef() until all in-progress calls finish, just do the
advisory locking bits required of close() by POSIX and let whichever
thread has the last reference do the call to the file's fo_close()
method and the final cleanup.
lots of discussion with deraadt@ and others; worked out with and ok krw@
|
|
/dev/ptm. Users are strongly encouraged to upgrade to a more recent
release if they haven't already.
ok deraadt
|
|
ok deraadt
|
|
|
|
ok deraadt matthew millert
|