OpenBSD CVS

CVS log for src/include/signal.h


[BACK] Up to [local] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Wed May 30 13:20:38 2018 UTC (5 years, 11 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, HEAD
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

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 1.25 / (download) - annotate - [select for diffs], Mon May 9 23:55:52 2016 UTC (8 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

Remove sigreturn declaration and the now-unused libc syscall stub

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 4 22:04:34 2016 UTC (8 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.23: +20 -8 lines
Diff to previous 1.23 (colored)

Convert sigemptyset and sigfillset to inline functions to avoid
warnings with newer gcc versions and -Werror=unused-value.
OK guenther@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 10 04:30:59 2015 UTC (8 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

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 1.22 / (download) - annotate - [select for diffs], Sat Jul 12 02:51:52 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Welcome to 1989: assume the compiler support const

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 16 18:38:30 2014 UTC (10 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

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 1.20 / (download) - annotate - [select for diffs], Wed Dec 5 23:19:57 2012 UTC (11 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 10 21:31:03 2012 UTC (11 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.18: +19 -15 lines
Diff to previous 1.18 (colored)

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@

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 13 16:22:05 2012 UTC (12 years ago) by espie
Branch: MAIN
Changes since 1.17: +3 -7 lines
Diff to previous 1.17 (colored)

functions are top-level objects anyways, make that clearer.
Okay otto@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 3 16:53:48 2012 UTC (12 years, 4 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)

The prototype for pthread_sigmask(2) is supposed to live in <signal.h>
instead of <pthread.h>.

ok guenther@, millert@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 22 21:13:30 2011 UTC (12 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.15: +6 -5 lines
Diff to previous 1.15 (colored)

sigstack() is long dead, and the compat sigaltstack syscall is gone too.
Correct the namespace protections for sigreturn(), sigwait(), and psignal()

ok millert@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 6 17:39:22 2011 UTC (12 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

sigset_t is unsigned, so eliminate a warning by shifting a 1U instead
of a 1 when creating signal masks.

ok millert@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 1 20:10:24 2010 UTC (13 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.13: +7 -11 lines
Diff to previous 1.13 (colored)

Now that __only_inline is in <sys/cdefs.h>, replace the local versions in
<ctype.h> and <signal.h>

ok kettenis@ millert@ deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 26 07:08:22 2010 UTC (13 years, 9 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Always force GNU inline semantics here as well.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 29 14:44:04 2008 UTC (16 years ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

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 1.11 / (download) - annotate - [select for diffs], Sat Mar 17 21:38:14 2007 UTC (17 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.10: +9 -4 lines
Diff to previous 1.10 (colored)

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 1.10 / (download) - annotate - [select for diffs], Wed Dec 21 19:09:01 2005 UTC (18 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Do not declare errno as extern int, set it via __errno().

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 13 00:35:22 2005 UTC (18 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.8: +15 -10 lines
Diff to previous 1.8 (colored)

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 1.8 / (download) - annotate - [select for diffs], Mon May 3 17:25:00 2004 UTC (20 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 2 19:34:12 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:36 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

We live in an ANSI C world.  Remove lots of gratuitous #ifdef __STDC__ cruft.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:17 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.4: +23 -23 lines
Diff to previous 1.4 (colored)

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 1.4 / (download) - annotate - [select for diffs], Fri Nov 20 11:18:26 1998 UTC (25 years, 6 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

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 1.3 / (download) - annotate - [select for diffs], Fri Sep 20 07:27:50 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

pull cdefs.h in sys/signal.h instead; improvement on netbsd pr#2712; laine@mornignstar.com

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 18 19:15:53 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:41:13 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:41:13 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.