aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/signal.h7
-rw-r--r--include/uapi/asm-generic/signal.h4
2 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index ed1e71f1aac7..01451a156ff7 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -249,6 +249,13 @@ extern void __set_current_blocked(const sigset_t *);
249extern int show_unhandled_signals; 249extern int show_unhandled_signals;
250extern int sigsuspend(sigset_t *); 250extern int sigsuspend(sigset_t *);
251 251
252struct k_sigaction {
253 struct sigaction sa;
254#ifdef __ARCH_HAS_KA_RESTORER
255 __sigrestore_t ka_restorer;
256#endif
257};
258
252extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); 259extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie);
253extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping); 260extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping);
254extern void exit_signals(struct task_struct *tsk); 261extern void exit_signals(struct task_struct *tsk);
diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h
index 6fae30fd16ab..21e59f36c61b 100644
--- a/include/uapi/asm-generic/signal.h
+++ b/include/uapi/asm-generic/signal.h
@@ -102,10 +102,6 @@ struct sigaction {
102 sigset_t sa_mask; /* mask last for extensibility */ 102 sigset_t sa_mask; /* mask last for extensibility */
103}; 103};
104 104
105struct k_sigaction {
106 struct sigaction sa;
107};
108
109typedef struct sigaltstack { 105typedef struct sigaltstack {
110 void __user *ss_sp; 106 void __user *ss_sp;
111 int ss_flags; 107 int ss_flags;