Home | History | Annotate | Download | only in include
History log of /src/sys/arch/hppa/include/signal.h
RevisionDateAuthorComments
 1.12  28-Oct-2021  christos Finish restoring the compat code.
 1.11  28-Oct-2021  christos We still need struct sigcontext for longjmp.
 1.10  27-Oct-2021  thorpej "struct sigcontext" has never been used on NetBSD/hppa; garbage-collect
it and other related definitions.
 1.9  26-Oct-2021  christos Merge all MD __sigaction14_sigtramp.c copies into one:
- sparc and sparc64 were not using version 0 sigcontext when there were
no arguments in the signal version. This was probably a bug.
- vax is using +1 the version numbers of the other archs.
- Only hppa was defining __LIBC12_SOURCE__ so it was getting a working
sigcontext before. all the other ports that supported sigcontext had
the compat code disabled.
[pointed out by thorpej, thanks!]
If we want to remove sigcontext support from userland at least now there
is less work to do so.
 1.8  16-Apr-2019  skrll Trailing whitespace
 1.7  29-Nov-2017  christos branches: 1.7.4;
need sigtypes.h for sigset_t, since <sys/siginfo.h> includes this directly.
 1.6  02-Jan-2011  skrll branches: 1.6.18;
__HAVE_SIGINFO has not been required/used for a long time now.

Prompted by uwe@
 1.5  11-Dec-2005  christos branches: 1.5.100;
merge ktrace-lwp.
 1.4  26-Mar-2004  drochner To the rest of the kernel, pretend that hppa supports SIGINFO.
There are still only "sigcontext" stackframes passed to the user,
but at least we can clean up the MI sources now.
 1.3  20-Sep-2003  matt Add multiple inclusion protection.
 1.2  28-Apr-2003  bjh21 branches: 1.2.2;
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.
 1.1  05-Jun-2002  fredette branches: 1.1.2; 1.1.4;
Added files to support generic HP PA-RISC based machines. hp700-specific
files to follow.
 1.1.4.2  14-Jul-2002  gehenna catch up with -current.
 1.1.4.1  05-Jun-2002  gehenna file signal.h was added on branch gehenna-devsw on 2002-07-14 17:47:32 +0000
 1.1.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.1  05-Jun-2002  jdolecek file signal.h was added on branch kqueue on 2002-06-23 17:37:10 +0000
 1.2.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1  03-Aug-2004  skrll Sync with HEAD
 1.5.100.1  05-Mar-2011  rmind sync with head
 1.6.18.1  03-Dec-2017  jdolecek update from HEAD
 1.7.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed