Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sparc/include/signal.h
RevisionDateAuthorComments
 1.26  28-Oct-2021  thorpej Making "struct sigcontext" visible only to _LIBC || _KERNEL is too
restrictive for sparc (it's accessed by libasan).
 1.25  27-Oct-2021  thorpej Make sigcontext13 visible only to _KERNEL. Make sigcontext visible only
to _LIBC and _KERNEL.
 1.24  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.23  29-Nov-2017  christos include <sys/sigtypes.h> for sigset_t
 1.22  19-Nov-2008  ad branches: 1.22.26;
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.21  11-Dec-2005  christos branches: 1.21.74; 1.21.78; 1.21.84; 1.21.86;
merge ktrace-lwp.
 1.20  10-May-2004  drochner SIGTRAMP_VALID() should not pollute the user namespace
 1.19  26-Mar-2004  drochner nothing cares about __HAVE_SIGINFO anymore, so nuke it
 1.18  19-Jan-2004  martin How stupid can you borke a commit? I could *swear* I had tested the last
revision before commiting - but you ain't going to believe me anyway.
 1.17  18-Jan-2004  martin Only compare the trampoline version in SIGTRAMP_VALID as an unsigned value.
From Christos Zoulas.
 1.16  25-Nov-2003  christos bye, bye _MCONTEXT_TO_SIGCONTEXT and vice versa.
 1.15  26-Oct-2003  christos Sparc64 builds with __HAVE_SIGINFO
 1.14  11-Oct-2003  pk Define SIGTRAMP_VALID.
 1.13  05-Oct-2003  pk sparc kernel support for SA_SIGINFO.
 1.12  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.11  28-Apr-2003  bjh21 branches: 1.11.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.10  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.9  09-Jan-2003  thorpej Merge sparc and sparc64 <machine/signal.h>.
 1.8  27-Nov-1999  mrg branches: 1.8.12;
more sparc64 merging; these files are (basically) identical.
 1.7  17-Sep-1998  thorpej branches: 1.7.12; 1.7.18;
Minor cosmetic change.
 1.6  13-Sep-1998  pk New sigcontext.
 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  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.3  10-Jan-1995  jtc Only define sig_atomic_t when _ANSI_SOURCE is defined.
 1.2  20-Nov-1994  deraadt copyright/Id cleanup
 1.1  02-Oct-1993  deraadt Chris Torek's sparc port. Missing lots of things.
 1.7.18.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.8.12.3  16-Jan-2003  martin Fix typo.
 1.8.12.2  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.8.12.1  09-Jan-2003  thorpej Sync with HEAD.
 1.11.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.11.2.1  03-Aug-2004  skrll Sync with HEAD
 1.21.86.1  19-Jan-2009  skrll Sync with HEAD.
 1.21.84.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.21.78.1  04-May-2009  yamt sync with head.
 1.21.74.1  17-Jan-2009  mjf Sync with HEAD.
 1.22.26.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed