History

consolidate kernel-side struct sigaction declarations

Al Viro committed 13 years ago

Commit 574c4861 parent 92a3ce426 files · +48 −81Browse files

Showing the changes to include/uapi (1 of 26 files). Show all

Unified · Split

include/uapi/asm-generic/signal.h+6−0
@@ -93,6 +93,11 @@ typedef unsigned long old_sigset_t; · 92 unmodified lines
9393
9494 #include <asm-generic/signal-defs.h>
9595
96+#ifdef SA_RESTORER
97+#define __ARCH_HAS_SA_RESTORER
98+#endif
99+
100+#ifndef __KERNEL__
96101 struct sigaction {
97102 __sighandler_t sa_handler;
98103 unsigned long sa_flags;
@@ -101,6 +106,7 @@ struct sigaction { · 2 unmodified lines
101106 #endif
102107 sigset_t sa_mask; /* mask last for extensibility */
103108 };
109+#endif
104110
105111 typedef struct sigaltstack {
106112 void __user *ss_sp;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t