diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-01 17:18:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-01 17:18:21 +0000 |
commit | 8ace0cbf7dd19e8dfad9701eb1ee95e52d7a566a (patch) | |
tree | c68156db3315599f002040470c7816e8ae303f68 /sys/arch/hppa/include/signal.h | |
parent | 73f0ef717df61cda5493a8ceba1c4c393763596f (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/hppa/include/signal.h')
-rw-r--r-- | sys/arch/hppa/include/signal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/signal.h b/sys/arch/hppa/include/signal.h index 80beef1253e..629a9410d58 100644 --- a/sys/arch/hppa/include/signal.h +++ b/sys/arch/hppa/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 $ */ /* * Copyright (c) 1994, The University of Utah and @@ -34,7 +34,7 @@ typedef int sig_atomic_t; -#if __BSD_VISIBLE +#ifdef _KERNEL #include <machine/trap.h> #endif |