#
3ea600eb |
| 30-May-2018 |
bluhm <bluhm@openbsd.org> |
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 sig
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@
show more ...
|
#
2032f1fe |
| 09-May-2016 |
guenther <guenther@openbsd.org> |
Remove sigreturn declaration and the now-unused libc syscall stub
|
#
1647db04 |
| 04-Feb-2016 |
millert <millert@openbsd.org> |
Convert sigemptyset and sigfillset to inline functions to avoid warnings with newer gcc versions and -Werror=unused-value. OK guenther@
|
#
60d49506 |
| 10-Nov-2015 |
guenther <guenther@openbsd.org> |
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. thr
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@
show more ...
|
#
014e36e3 |
| 12-Jul-2014 |
guenther <guenther@openbsd.org> |
Welcome to 1989: assume the compiler support const
|
#
acf82b0a |
| 16-Mar-2014 |
guenther <guenther@openbsd.org> |
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@
|
#
4a39ccd0 |
| 05-Dec-2012 |
deraadt <deraadt@openbsd.org> |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
#
d04f2212 |
| 10-Jun-2012 |
guenther <guenther@openbsd.org> |
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 sp
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@
show more ...
|
#
6623f2ad |
| 13-May-2012 |
espie <espie@openbsd.org> |
functions are top-level objects anyways, make that clearer. Okay otto@
|
#
7f6b7261 |
| 03-Jan-2012 |
kettenis <kettenis@openbsd.org> |
The prototype for pthread_sigmask(2) is supposed to live in <signal.h> instead of <pthread.h>.
ok guenther@, millert@
|
#
3b196c12 |
| 22-Nov-2011 |
guenther <guenther@openbsd.org> |
sigstack() is long dead, and the compat sigaltstack syscall is gone too. Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
|
#
6bd17a16 |
| 06-Jul-2011 |
guenther <guenther@openbsd.org> |
sigset_t is unsigned, so eliminate a warning by shifting a 1U instead of a 1 when creating signal masks.
ok millert@
|
#
2095efaf |
| 01-Oct-2010 |
guenther <guenther@openbsd.org> |
Now that __only_inline is in <sys/cdefs.h>, replace the local versions in <ctype.h> and <signal.h>
ok kettenis@ millert@ deraadt@
|
#
1cad1807 |
| 26-Jul-2010 |
kettenis <kettenis@openbsd.org> |
Always force GNU inline semantics here as well.
|
#
8958e66d |
| 29-Apr-2008 |
kettenis <kettenis@openbsd.org> |
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@
|
#
ddaabf24 |
| 17-Mar-2007 |
espie <espie@openbsd.org> |
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 ke
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.
show more ...
|
#
c2ef5377 |
| 21-Dec-2005 |
millert <millert@openbsd.org> |
Do not declare errno as extern int, set it via __errno().
|
#
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 ...
|
#
22036547 |
| 03-May-2004 |
millert <millert@openbsd.org> |
XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@
|
#
e33d3bd3 |
| 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.
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
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 don
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.
show more ...
|
#
92efb735 |
| 20-Nov-1998 |
d <d@openbsd.org> |
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 sp
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
show more ...
|
#
ada775ef |
| 20-Sep-1996 |
deraadt <deraadt@openbsd.org> |
pull cdefs.h in sys/signal.h instead; improvement on netbsd pr#2712; laine@mornignstar.com
|
#
bc840760 |
| 18-Mar-1996 |
niklas <niklas@openbsd.org> |
From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129
|