#
1.26 |
|
30-May-2018 |
bluhm |
The open POSIX test suite reveals that sigpause(int sigmask) from 4.2 BSD takes a signal mask as argument while POSIX sigpause(int sig) expects a single signal. Do not expose our traditional BSD sigpause(3) to XPG/POSIX sources. OK guenther@
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.25 |
|
09-May-2016 |
guenther |
Remove sigreturn declaration and the now-unused libc syscall stub
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.24 |
|
04-Feb-2016 |
millert |
Convert sigemptyset and sigfillset to inline functions to avoid warnings with newer gcc versions and -Werror=unused-value. OK guenther@
|
#
1.23 |
|
10-Nov-2015 |
guenther |
Split the intra-thread functionality from kill(2) into its own syscall thrkill(2), rolling the kill(2) syscall number with the ABI change to avoid breaking binaries during during the transition. thrkill(2) includes a 'tcb' argument that eliminates the need for locking in pthread_kill() and simplifies pthread_cancel(). Switch __stack_smash_handler() to use thrkill(2) and explicitly unblock SIGABRT.
Minor bump to both libc and libpthread: make sure you install a new kernel!
ok semarie@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.22 |
|
12-Jul-2014 |
guenther |
Welcome to 1989: assume the compiler support const
|
#
1.21 |
|
16-Mar-2014 |
guenther |
lint is dead (long live the lint!), so stop using it as a cpp conditional (namespace pollution!) or talking about its opinion on code.
ok krw@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.20 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.19 |
|
10-Jun-2012 |
guenther |
Improve standards compliance: bsd_signal() was XSI only and has been dropped from the most recent version, use the implementation namespace for variables in inline functions, and add __restrict as specified.
ok millert@
|
#
1.18 |
|
13-May-2012 |
espie |
functions are top-level objects anyways, make that clearer. Okay otto@
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.17 |
|
03-Jan-2012 |
kettenis |
The prototype for pthread_sigmask(2) is supposed to live in <signal.h> instead of <pthread.h>.
ok guenther@, millert@
|
#
1.16 |
|
22-Nov-2011 |
guenther |
sigstack() is long dead, and the compat sigaltstack syscall is gone too. Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.15 |
|
06-Jul-2011 |
guenther |
sigset_t is unsigned, so eliminate a warning by shifting a 1U instead of a 1 when creating signal masks.
ok millert@
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.14 |
|
01-Oct-2010 |
guenther |
Now that __only_inline is in <sys/cdefs.h>, replace the local versions in <ctype.h> and <signal.h>
ok kettenis@ millert@ deraadt@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.13 |
|
26-Jul-2010 |
kettenis |
Always force GNU inline semantics here as well.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.12 |
|
29-Apr-2008 |
kettenis |
Make sure sys_signame and sys_siglist are wrapped in __BEGIN_DECLS. Needed to tell pedantic C++ compilers these symbols have 'C' linkage.
ok kurt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.11 |
|
17-Mar-2007 |
espie |
allow extern inline stuff to proceed unchanged thru the mess that the combined GCC and ISO committees managed to make out of it.
With this, gcc >= 4.3 can grok its way through it correctly.
okay kettenis@, with some help figuring stuff out.
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.10 |
|
21-Dec-2005 |
millert |
Do not declare errno as extern int, set it via __errno().
|
#
1.9 |
|
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
|
#
1.8 |
|
03-May-2004 |
millert |
XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.7 |
|
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
|
#
1.6 |
|
19-Feb-2002 |
millert |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
1.5 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.4 |
|
20-Nov-1998 |
d |
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_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.3 |
|
20-Sep-1996 |
deraadt |
pull cdefs.h in sys/signal.h instead; improvement on netbsd pr#2712; laine@mornignstar.com
|
#
1.2 |
|
18-Mar-1996 |
niklas |
From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.25 |
|
09-May-2016 |
guenther |
Remove sigreturn declaration and the now-unused libc syscall stub
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.24 |
|
04-Feb-2016 |
millert |
Convert sigemptyset and sigfillset to inline functions to avoid warnings with newer gcc versions and -Werror=unused-value. OK guenther@
|
#
1.23 |
|
10-Nov-2015 |
guenther |
Split the intra-thread functionality from kill(2) into its own syscall thrkill(2), rolling the kill(2) syscall number with the ABI change to avoid breaking binaries during during the transition. thrkill(2) includes a 'tcb' argument that eliminates the need for locking in pthread_kill() and simplifies pthread_cancel(). Switch __stack_smash_handler() to use thrkill(2) and explicitly unblock SIGABRT.
Minor bump to both libc and libpthread: make sure you install a new kernel!
ok semarie@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.22 |
|
12-Jul-2014 |
guenther |
Welcome to 1989: assume the compiler support const
|
#
1.21 |
|
16-Mar-2014 |
guenther |
lint is dead (long live the lint!), so stop using it as a cpp conditional (namespace pollution!) or talking about its opinion on code.
ok krw@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.20 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.19 |
|
10-Jun-2012 |
guenther |
Improve standards compliance: bsd_signal() was XSI only and has been dropped from the most recent version, use the implementation namespace for variables in inline functions, and add __restrict as specified.
ok millert@
|
#
1.18 |
|
13-May-2012 |
espie |
functions are top-level objects anyways, make that clearer. Okay otto@
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.17 |
|
03-Jan-2012 |
kettenis |
The prototype for pthread_sigmask(2) is supposed to live in <signal.h> instead of <pthread.h>.
ok guenther@, millert@
|
#
1.16 |
|
22-Nov-2011 |
guenther |
sigstack() is long dead, and the compat sigaltstack syscall is gone too. Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.15 |
|
06-Jul-2011 |
guenther |
sigset_t is unsigned, so eliminate a warning by shifting a 1U instead of a 1 when creating signal masks.
ok millert@
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.14 |
|
01-Oct-2010 |
guenther |
Now that __only_inline is in <sys/cdefs.h>, replace the local versions in <ctype.h> and <signal.h>
ok kettenis@ millert@ deraadt@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.13 |
|
26-Jul-2010 |
kettenis |
Always force GNU inline semantics here as well.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.12 |
|
29-Apr-2008 |
kettenis |
Make sure sys_signame and sys_siglist are wrapped in __BEGIN_DECLS. Needed to tell pedantic C++ compilers these symbols have 'C' linkage.
ok kurt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.11 |
|
17-Mar-2007 |
espie |
allow extern inline stuff to proceed unchanged thru the mess that the combined GCC and ISO committees managed to make out of it.
With this, gcc >= 4.3 can grok its way through it correctly.
okay kettenis@, with some help figuring stuff out.
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.10 |
|
21-Dec-2005 |
millert |
Do not declare errno as extern int, set it via __errno().
|
#
1.9 |
|
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
|
#
1.8 |
|
03-May-2004 |
millert |
XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.7 |
|
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
|
#
1.6 |
|
19-Feb-2002 |
millert |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
1.5 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.4 |
|
20-Nov-1998 |
d |
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_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.3 |
|
20-Sep-1996 |
deraadt |
pull cdefs.h in sys/signal.h instead; improvement on netbsd pr#2712; laine@mornignstar.com
|
#
1.2 |
|
18-Mar-1996 |
niklas |
From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|