summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-01 17:18:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-01 17:18:21 +0000
commit8ace0cbf7dd19e8dfad9701eb1ee95e52d7a566a (patch)
treec68156db3315599f002040470c7816e8ae303f68 /sys/arch/sparc64/include
parent73f0ef717df61cda5493a8ceba1c4c393763596f (diff)
Do not expose the trap T_* values to userland, since they invade the
namespace a bit much. These are the names for the value encoded in core.c_ucode or siginfo.si_trapno, but userland never looks directly and only cares about the abstract signal code. ok guenther
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/signal.h b/sys/arch/sparc64/include/signal.h
index 0333dc1b733..b5a2122f72e 100644
--- a/sys/arch/sparc64/include/signal.h
+++ b/sys/arch/sparc64/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.10 2012/12/02 07:03:31 guenther Exp $ */
+/* $OpenBSD: signal.h,v 1.11 2013/04/01 17:18:20 deraadt Exp $ */
/* $NetBSD: signal.h,v 1.10 2001/05/09 19:50:49 kleink Exp $ */
/*
@@ -72,7 +72,7 @@ struct sigcontext {
#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#endif /* _LOCORE */
-#if defined(_LOCORE) || __BSD_VISIBLE
+#if defined(_LOCORE) || defined(_KERNEL)
/*
* `Code' arguments to signal handlers. The names, and the funny numbering.
* are defined so as to match up with what SunOS uses; I have no idea why