Home | History | Annotate | Download | only in include
History log of /src/sys/arch/vax/include/signal.h
RevisionDateAuthorComments
 1.23  29-Oct-2021  thorpej Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility.
 1.22  28-Oct-2021  christos The genassym code in libc also needs struct sigcontext13
 1.21  27-Oct-2021  thorpej The stupid CPP has proven me too clever by half.
 1.20  27-Oct-2021  thorpej Centrally define constants that define the signal return trampoline
versioning scheme, and add a big block comment describing how it works.
 1.19  27-Oct-2021  thorpej Make sigcontext13 visible only to _KERNEL. Make sigcontext visible only
to _LIBC and _KERNEL.
 1.18  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.17  29-Dec-2018  maxv Retire compat_ibcs2, as discussed on tech-kern@. FreeBSD did the same
recently.
 1.16  29-Nov-2017  christos branches: 1.16.2; 1.16.4;
include <sys/sigtypes.h> for sigset_t
 1.15  13-Jan-2009  mjf branches: 1.15.24;
- Separate the COMPAT_13 and COMPAT_16 code into their own files and
compile them only when the relevant config options are set.

- Provide a sendsig_sigcontext() implementation using the existing vax
signal code; it already does the correct thing.
 1.14  19-Nov-2008  ad Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.13  11-Dec-2005  christos branches: 1.13.74; 1.13.78; 1.13.84; 1.13.86;
merge ktrace-lwp.
 1.12  26-Mar-2004  drochner nothing cares about __HAVE_SIGINFO anymore, so nuke it
 1.11  29-Sep-2003  matt Add SA_SIGINFO support for VAX.
 1.10  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9  28-Apr-2003  bjh21 branches: 1.9.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.8  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.7  30-Sep-1998  ragge branches: 1.7.30;
Typo.
 1.6  17-Sep-1998  thorpej Define the new sigcontext structure.
 1.5  25-May-1998  kleink If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
 1.4  10-Jan-1995  jtc Only define sig_atomic_t when _ANSI_SOURCE is defined.
 1.3  25-Nov-1994  ragge Lots of updates & fixes.
 1.2  26-Oct-1994  cgd new RCS ID format.
 1.1  02-Aug-1994  ragge branches: 1.1.2;
Initial VAX port merging.
 1.1.2.2  02-Aug-1994  ragge Initial VAX port merging.
 1.1.2.1  02-Aug-1994  ragge file signal.h was added on branch netbsd-1-0 on 1994-08-02 20:20:59 +0000
 1.7.30.1  16-Jan-2003  thorpej * Include <sys/sigtypes.h> rather than <sys/signal.h> in <sys/ucontext.h>.
* Define _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT()
macros for converting a ucontext -> sigcontext and back again.
These macros in turn use machine-dependent macros _MCONTEXT_TO_SIGCONTEXT()
and _SIGCONTEXT_TO_MCONTEXT() provided by <machine/signal.h>.

The conversion process is not 100% accurate, but should be close enough.

Also note that the mcontext conversion may not be enough for all platforms
(m68k is a good example of this). These macros should be used only if
you really know what you're doing.
 1.9.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.86.1  19-Jan-2009  skrll Sync with HEAD.
 1.13.84.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.13.78.1  04-May-2009  yamt sync with head.
 1.13.74.1  17-Jan-2009  mjf Sync with HEAD.
 1.15.24.1  03-Dec-2017  jdolecek update from HEAD
 1.16.4.1  10-Jun-2019  christos Sync with HEAD
 1.16.2.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed