#
176944c6 |
| 12-Sep-2016 |
guenther <guenther@openbsd.org> |
More #include cleanup per POSIX: - <sys/types.h>: don't pull in <sys/select.h> - <sys/select.h>: don't pull in <sys/time.h>, but rather declare timeval and timespec locally - <sys/time.h>: *do*
More #include cleanup per POSIX: - <sys/types.h>: don't pull in <sys/select.h> - <sys/select.h>: don't pull in <sys/time.h>, but rather declare timeval and timespec locally - <sys/time.h>: *do* always pull in <sys/select.h> - <sys/socket.h>: declare timeval if __BSD_VISIBLE for struct splice
Ports testing and fixed by ajacoutot@ ok deraadt@ millert@
show more ...
|
#
62df73d3 |
| 07-Mar-2016 |
jca <jca@openbsd.org> |
Make __fd_isset() take a const fd_set * param, to avoid upsetting c++
ok zhuk@ deraadt@
|
#
b8c90d45 |
| 04-Mar-2016 |
deraadt <deraadt@openbsd.org> |
The FD_SET/FD_CLR/FD_ISSET macros have always multi-evaluated the fd argument. Wrap them around a static inline function which avoids the problem. ok kettenis mikeb
|
#
d98b0f83 |
| 03-Dec-2013 |
naddy <naddy@openbsd.org> |
Remove string.h dependency from sys/select.h; from FreeBSD, tweaked by deraadt@. Sync man page.
ok guenther@, deraadt@
|
#
a18aab4a |
| 29-Oct-2013 |
deraadt <deraadt@openbsd.org> |
__fd_mask should be unsigned, and let's shift an unsigned bit. Why has this never mattered before?? ok guenther millert
|
#
609fbb5e |
| 22-Oct-2013 |
deraadt <deraadt@openbsd.org> |
kernel has memcpy/memset now
|
#
17132ff2 |
| 29-Apr-2013 |
matthew <matthew@openbsd.org> |
Extend P_SIGSUSPEND handling in userret() to properly restore the sigmask even if there are no pending signals under the temporary sigmask.
Refactor existing select() and poll() system calls to intr
Extend P_SIGSUSPEND handling in userret() to properly restore the sigmask even if there are no pending signals under the temporary sigmask.
Refactor existing select() and poll() system calls to introduce the pselect() and ppoll() system calls.
Add rthread wrappers for pselect() and ppoll(). While there, update cancellation point comments to reflect recent fdatasync() addition.
Minor bumps for libc and librthread due to new symbols.
ok guenther, millert, deraadt, jmc
show more ...
|
#
4a39ccd0 |
| 05-Dec-2012 |
deraadt <deraadt@openbsd.org> |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
#
ea9307b8 |
| 21-Mar-2006 |
otto <otto@openbsd.org> |
x << long generates a lint warning, so silence it by casting __NFDBITS to unsigned; this is a conseqeunce of changing size_t to u_long. ok deraadt@ millert@ cloder@
|
#
52a0e603 |
| 13-Dec-2005 |
millert <millert@openbsd.org> |
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraad
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
show more ...
|
#
39539e65 |
| 21-Nov-2005 |
millert <millert@openbsd.org> |
Move contents of sys/select.h to sys/selinfo.h in preparation for a userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
|
#
29295d1c |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
c4071fd1 |
| 14-Mar-2002 |
millert <millert@openbsd.org> |
First round of __P removal in sys
|
#
1a12e8a7 |
| 16-Nov-2000 |
provos <provos@openbsd.org> |
support kernel event queues, from FreeBSD by Jonathan Lemon, okay art@, millert@
|
#
846c664f |
| 27-Jan-1997 |
deraadt <deraadt@openbsd.org> |
select subsystem si_pid becomes si_selpid, to not conflict against user/kernel siginfo si_pid #define
|
#
bb63a7f5 |
| 03-Mar-1996 |
niklas <niklas@openbsd.org> |
From NetBSD: 960217 merge
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|