mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +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
|
@ -299,6 +299,15 @@ struct compat_robust_list_head {
|
|||
compat_uptr_t list_op_pending;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_COMPAT_OLD_SIGACTION
|
||||
struct compat_old_sigaction {
|
||||
compat_uptr_t sa_handler;
|
||||
compat_old_sigset_t sa_mask;
|
||||
compat_ulong_t sa_flags;
|
||||
compat_uptr_t sa_restorer;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct compat_statfs;
|
||||
struct compat_statfs64;
|
||||
struct compat_old_linux_dirent;
|
||||
|
@ -383,6 +392,11 @@ int get_compat_sigevent(struct sigevent *event,
|
|||
const struct compat_sigevent __user *u_event);
|
||||
long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, compat_pid_t pid, int sig,
|
||||
struct compat_siginfo __user *uinfo);
|
||||
#ifdef CONFIG_COMPAT_OLD_SIGACTION
|
||||
asmlinkage long compat_sys_sigaction(int sig,
|
||||
const struct compat_old_sigaction __user *act,
|
||||
struct compat_old_sigaction __user *oact);
|
||||
#endif
|
||||
|
||||
static inline int compat_timeval_compare(struct compat_timeval *lhs,
|
||||
struct compat_timeval *rhs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue