History log of /openbsd-current/sys/sys/unistd.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.31 20-Jul-2015 guenther

Add kbind, a syscall for ld.so to use to securely and efficiently update
memory for lazy binding

ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.30 13-Dec-2014 tedu

claim posix 2008 compat. apparently people look at this and get scared
when it's really old. but no actual ports fallout in espie's build.
ok deraadt


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.29 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


Revision tags: OPENBSD_5_4_BASE
# 1.28 28-Mar-2013 guenther

Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2,
msdos, NFS, fifos and devices, plus support for querying it in
getconf(2) and the requisite pathconf(2) manpage blurb

ok tedu@


# 1.27 28-Mar-2013 guenther

Handle the pathconf _PC_PATH_MAX, _PC_PIPE_BUF, _PC_ASYNC_IO,
_PC_PRIO_IO, and _PC_SYNC_IO names in VOP_PATHCONF(), as they're
fs-independent for us. Since we don't support latter three on any
fs, we can also define the related _POSIX_{ASYNC,PRIO,SYNC}_IO
symbols in <unistd.h> (via sys/unistd.h) with value -1.

Also, zap pointless tty-only values from procfs(!).

ok beck@, deraadt@


# 1.26 14-Mar-2013 tedu

the 5.1 era tfork syscall claws its way out of the grave. we failed to
fully deprecate it (notably the go port was still using it as of 5.3)
so to give users a little more time to update, __tfork51 lives again.
okish deraadt guenther


# 1.25 02-Mar-2013 guenther

No longer need the 5.1 version of the __tfork syscall

ok deraadt@


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.24 21-Jun-2012 guenther

__tfork() needs to set the stack address of the new thread in the kernel,
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@


# 1.23 19-Jun-2012 matthew

Add more pathconf(2) variables from POSIX.

From FreeBSD via Brad; ok millert


# 1.22 30-May-2012 matthew

Move the _SC_* and _CS_* configurable system variables and strings
from sys/unistd.h to unistd.h.

From Brad; ok millert and me


# 1.21 14-May-2012 matthew

More sysconf(3)-y and pathconf(3)-y goodness from Brad.
ok guenther, millert (and me); bulk build test by naddy


# 1.20 06-Mar-2012 ajacoutot

Add the _POSIX_MONOTONIC_CLOCK symbol and the sysconf(3)
_SC_MONOTONIC_CLOCK variable.
from Brad

No libc minor crank needed, as no API has been changed, per se (deraadt).

ports bulk testing by landry@
small man rewording from thib@
ok millert@ otto@ deraadt@


Revision tags: OPENBSD_5_1_BASE
# 1.19 15-Oct-2011 guenther

"TLS-lite": add kernel support for a per-thread userspace pointer,
for pointing to the thread-control-block. Support for mapping this
to the correct hardware register can be added as it's finished;
start with support for amd64, sparc, and sparc64. Includes syscalls
for getting and setting it (for a portable __errno implementation) as
well as creating a new thread with an initial value for it.

discussed with miod@, kettenis@, deraadt@; committing to get the syscalls
in with the impending libc bump and do further refinements in tree


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.18 28-Oct-2010 deraadt

support _SC_HOST_NAME_MAX; from brad
a libc crank is happening in < 24 hours


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.17 15-Jan-2010 sthen

Add support to sysconf(3) for the variables _SC_NPROCESSORS_CONF and
_SC_NPROCESSORS_ONLN, implemented by AIX/Tru64/Solaris/Linux/SCO/FreeBSD/NetBSD.
Bump libc minor.

From Brad, ok deraadt@ guenther@

(File missing from previous commit, pointed out by johan@ - thanks!)


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 22-Aug-2008 deraadt

set _POSIX_JOB_CONTROL and _POSIX_SAVED_IDS to the correct values; ok millert


Revision tags: OPENBSD_4_4_BASE
# 1.15 25-Jun-2008 millert

Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,
and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@


# 1.14 16-Mar-2008 kettenis

Add the semi-standard _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, sysconf(3) variable.

ok espie@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.13 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@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.12 07-May-2004 millert

Implement _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX.
Based on a diff from Jean-G�rard Pailloncy.


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.11 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_2_BASE OPENBSD_3_3_BASE UBC_SYNC_A UBC_SYNC_B
# 1.10 14-Jun-2002 todd

spelling; from Brian Poole <raj@cerias.purdue.edu>


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE UBC_BASE
# 1.9 29-Sep-2001 naddy

branches: 1.9.4;
comment out some unimplemented placeholders; millert@ agrees


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE SMP_BASE kame_19991208
# 1.8 20-Nov-1998 d

branches: 1.8.6;
Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO


Revision tags: OPENBSD_2_4_BASE
# 1.7 13-Jul-1998 millert

clarify a comment


# 1.6 02-Jun-1998 deraadt

add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; mostly from kleink


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.5 26-Oct-1996 tholo

Define _POSIX_VDISABLE as (0377), not '\377'


# 1.4 26-Oct-1996 tholo

Don't use a cast for _POSIX_VDISABLE
Update _POSIX_VERSION to 199009


Revision tags: OPENBSD_2_0_BASE
# 1.3 01-Aug-1996 tholo

Implemented _POSIX_SAVED_IDS behaviour according to 1003.1-1990, with
allowed extension from Appendix B, section 4.2.2.


# 1.2 03-Mar-1996 niklas

From NetBSD: 960217 merge


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision