Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Make sigcontext13 visible only to _KERN...
details: https://anonhg.NetBSD.org/src/rev/fae9cb2b0f4b
branches: trunk
changeset: 1024511:fae9cb2b0f4b
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Oct 27 01:09:36 2021 +0000
description:
Make sigcontext13 visible only to _KERNEL. Make sigcontext visible only
to _LIBC and _KERNEL.
diffstat:
sys/arch/arm/include/signal.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 419c12bb4ac9 -r fae9cb2b0f4b sys/arch/arm/include/signal.h
--- a/sys/arch/arm/include/signal.h Wed Oct 27 01:06:38 2021 +0000
+++ b/sys/arch/arm/include/signal.h Wed Oct 27 01:09:36 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: signal.h,v 1.17 2021/10/26 16:16:34 christos Exp $ */
+/* $NetBSD: signal.h,v 1.18 2021/10/27 01:09:36 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@@ -66,7 +66,7 @@
* a non-standard exit is performed.
*/
-#if defined(__LIBC12_SOURCE__) || defined(_KERNEL)
+#if defined(_KERNEL)
struct sigcontext13 {
int sc_onstack; /* sigstack state to restore */
int sc_mask; /* signal mask to restore (old style) */
@@ -90,8 +90,9 @@
unsigned int sc_svc_lr;
unsigned int sc_pc;
};
-#endif /* __LIBC12_SOURCE__ || _KERNEL */
+#endif /* _KERNEL */
+#if defined(_LIBC) || defined(_KERNEL)
#define __HAVE_STRUCT_SIGCONTEXT
struct sigcontext {
int sc_onstack; /* sigstack state to restore */
@@ -118,6 +119,7 @@
sigset_t sc_mask; /* signal mask to restore (new style) */
};
+#endif /* _LIBC || _KERNEL */
#endif /* !_LOCORE */
Home |
Main Index |
Thread Index |
Old Index