mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
generic sys_sigaction() and compat_sys_sigaction()
conditional on OLD_SIGACTION/COMPAT_OLD_SIGACTION Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
08d32fe504
commit
495dfbf767
5 changed files with 117 additions and 0 deletions
|
@ -269,6 +269,15 @@ struct k_sigaction {
|
|||
__sigrestore_t ka_restorer;
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef CONFIG_OLD_SIGACTION
|
||||
struct old_sigaction {
|
||||
__sighandler_t sa_handler;
|
||||
old_sigset_t sa_mask;
|
||||
unsigned long sa_flags;
|
||||
__sigrestore_t sa_restorer;
|
||||
};
|
||||
#endif
|
||||
|
||||
extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie);
|
||||
extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue