diff options
| author | christos <christos@NetBSD.org> | 2021-10-26 16:16:34 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2021-10-26 16:16:34 +0000 |
| commit | 32e080b2c2c667f150d3fbde9145505e5f741a1e (patch) | |
| tree | ddc7980e73fa52fb3ba16d5f2ee23aaab74fc45b /sys/arch/alpha/include | |
| parent | 568e3ffabd982acc53ef25d70c850a818f878c6f (diff) | |
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.
Diffstat (limited to 'sys/arch/alpha/include')
| -rw-r--r-- | sys/arch/alpha/include/signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/signal.h b/sys/arch/alpha/include/signal.h index e987289efc1..ac099bf314b 100644 --- a/sys/arch/alpha/include/signal.h +++ b/sys/arch/alpha/include/signal.h @@ -1,4 +1,4 @@ -/* $NetBSD: signal.h,v 1.17 2019/03/25 19:24:30 maxv Exp $ */ +/* $NetBSD: signal.h,v 1.18 2021/10/26 16:16:34 christos Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -66,6 +66,7 @@ struct sigcontext13 { #endif /* _KERNEL && COMPAT_13 */ #if defined(_LIBC) || (defined(_KERNEL) && defined(COMPAT_16)) +#define __HAVE_STRUCT_SIGCONTEXT struct sigcontext { long sc_onstack; /* sigstack state to restore */ long __sc_mask13; /* signal mask to restore (old style) */ |
