aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 0d53ab4f79c5..e20b8b404ae9 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -299,6 +299,15 @@ struct compat_robust_list_head {
299 compat_uptr_t list_op_pending; 299 compat_uptr_t list_op_pending;
300}; 300};
301 301
302#ifdef CONFIG_COMPAT_OLD_SIGACTION
303struct compat_old_sigaction {
304 compat_uptr_t sa_handler;
305 compat_old_sigset_t sa_mask;
306 compat_ulong_t sa_flags;
307 compat_uptr_t sa_restorer;
308};
309#endif
310
302struct compat_statfs; 311struct compat_statfs;
303struct compat_statfs64; 312struct compat_statfs64;
304struct compat_old_linux_dirent; 313struct compat_old_linux_dirent;
@@ -383,6 +392,11 @@ int get_compat_sigevent(struct sigevent *event,
383 const struct compat_sigevent __user *u_event); 392 const struct compat_sigevent __user *u_event);
384long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, compat_pid_t pid, int sig, 393long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, compat_pid_t pid, int sig,
385 struct compat_siginfo __user *uinfo); 394 struct compat_siginfo __user *uinfo);
395#ifdef CONFIG_COMPAT_OLD_SIGACTION
396asmlinkage long compat_sys_sigaction(int sig,
397 const struct compat_old_sigaction __user *act,
398 struct compat_old_sigaction __user *oact);
399#endif
386 400
387static inline int compat_timeval_compare(struct compat_timeval *lhs, 401static inline int compat_timeval_compare(struct compat_timeval *lhs,
388 struct compat_timeval *rhs) 402 struct compat_timeval *rhs)