diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 13:32:58 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 15:09:19 -0500 |
commit | 322a56cb1fcbe228eee5cdb8a9c6df9f797d998c (patch) | |
tree | feedbad82fdfacf9f4d5ddd343905f6057a71fee /include/linux | |
parent | ad4b65a434bdd2ff37d095ab1ccd836203e985ba (diff) |
generic compat_sys_rt_sigprocmask()
conditional on GENERIC_COMPAT_RT_SIGPROCMASK; by the end of that series
it will become the same thing as COMPAT and conditional will die out.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index dec7e2d18875..9d3c2a98d537 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -401,7 +401,8 @@ asmlinkage long compat_sys_settimeofday(struct compat_timeval __user *tv, | |||
401 | asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp); | 401 | asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp); |
402 | 402 | ||
403 | extern int compat_printk(const char *fmt, ...); | 403 | extern int compat_printk(const char *fmt, ...); |
404 | extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); | 404 | extern void sigset_from_compat(sigset_t *set, const compat_sigset_t *compat); |
405 | extern void sigset_to_compat(compat_sigset_t *compat, const sigset_t *set); | ||
405 | 406 | ||
406 | asmlinkage long compat_sys_migrate_pages(compat_pid_t pid, | 407 | asmlinkage long compat_sys_migrate_pages(compat_pid_t pid, |
407 | compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes, | 408 | compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes, |
@@ -592,6 +593,11 @@ asmlinkage long compat_sys_rt_sigtimedwait(compat_sigset_t __user *uthese, | |||
592 | struct compat_timespec __user *uts, compat_size_t sigsetsize); | 593 | struct compat_timespec __user *uts, compat_size_t sigsetsize); |
593 | asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, | 594 | asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, |
594 | compat_size_t sigsetsize); | 595 | compat_size_t sigsetsize); |
596 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGPROCMASK | ||
597 | asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, | ||
598 | compat_sigset_t __user *oset, | ||
599 | compat_size_t sigsetsize); | ||
600 | #endif | ||
595 | asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); | 601 | asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); |
596 | asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, | 602 | asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, |
597 | unsigned long arg); | 603 | unsigned long arg); |