History log of /openbsd-current/sys/sys/select.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 12-Sep-2016 guenther

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@


Revision tags: OPENBSD_6_0_BASE
# 1.16 07-Mar-2016 jca

Make __fd_isset() take a const fd_set * param, to avoid upsetting c++

ok zhuk@ deraadt@


# 1.15 04-Mar-2016 deraadt

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


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.14 03-Dec-2013 naddy

Remove string.h dependency from sys/select.h; from FreeBSD, tweaked
by deraadt@. Sync man page.

ok guenther@, deraadt@


# 1.13 29-Oct-2013 deraadt

__fd_mask should be unsigned, and let's shift an unsigned bit. Why
has this never mattered before??
ok guenther millert


# 1.12 22-Oct-2013 deraadt

kernel has memcpy/memset now


Revision tags: OPENBSD_5_4_BASE
# 1.11 29-Apr-2013 matthew

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


Revision tags: OPENBSD_5_3_BASE
# 1.10 05-Dec-2012 deraadt

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.9 21-Mar-2006 otto

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@


Revision tags: OPENBSD_3_9_BASE
# 1.8 13-Dec-2005 millert

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@


# 1.7 21-Nov-2005 millert

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@.


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.6 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_A UBC_SYNC_B
# 1.5 14-Mar-2002 millert

First round of __P removal in sys


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
# 1.4 16-Nov-2000 provos

branches: 1.4.6;
support kernel event queues, from FreeBSD by Jonathan Lemon,
okay art@, millert@


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE SMP_BASE kame_19991208
# 1.3 27-Jan-1997 deraadt

branches: 1.3.14;
select subsystem si_pid becomes si_selpid, to not conflict against user/kernel siginfo si_pid #define


Revision tags: OPENBSD_2_0_BASE
# 1.2 03-Mar-1996 niklas

From NetBSD: 960217 merge


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision