Commit 7b5d3c1d authored by Al Viro's avatar Al Viro

tile: switch to generic compat rt_sigqueueinfo()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 03e27595
...@@ -22,6 +22,7 @@ config TILE ...@@ -22,6 +22,7 @@ config TILE
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select MODULES_USE_ELF_RELA select MODULES_USE_ELF_RELA
select GENERIC_SIGALTSTACK select GENERIC_SIGALTSTACK
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_COMPAT_RT_SIGPROCMASK select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGPENDING select GENERIC_COMPAT_RT_SIGPENDING
......
...@@ -278,8 +278,6 @@ struct compat_sigaltstack; ...@@ -278,8 +278,6 @@ struct compat_sigaltstack;
long compat_sys_rt_sigaction(int sig, struct compat_sigaction __user *act, long compat_sys_rt_sigaction(int sig, struct compat_sigaction __user *act,
struct compat_sigaction __user *oact, struct compat_sigaction __user *oact,
size_t sigsetsize); size_t sigsetsize);
long compat_sys_rt_sigqueueinfo(int pid, int sig,
struct compat_siginfo __user *uinfo);
long compat_sys_rt_sigreturn(void); long compat_sys_rt_sigreturn(void);
long compat_sys_truncate64(char __user *filename, u32 dummy, u32 low, u32 high); long compat_sys_truncate64(char __user *filename, u32 dummy, u32 low, u32 high);
long compat_sys_ftruncate64(unsigned int fd, u32 dummy, u32 low, u32 high); long compat_sys_ftruncate64(unsigned int fd, u32 dummy, u32 low, u32 high);
......
...@@ -97,21 +97,6 @@ long compat_sys_rt_sigaction(int sig, struct compat_sigaction __user *act, ...@@ -97,21 +97,6 @@ long compat_sys_rt_sigaction(int sig, struct compat_sigaction __user *act,
return ret; return ret;
} }
long compat_sys_rt_sigqueueinfo(int pid, int sig,
struct compat_siginfo __user *uinfo)
{
siginfo_t info;
int ret;
mm_segment_t old_fs = get_fs();
if (copy_siginfo_from_user32(&info, uinfo))
return -EFAULT;
set_fs(KERNEL_DS);
ret = sys_rt_sigqueueinfo(pid, sig, (siginfo_t __force __user *)&info);
set_fs(old_fs);
return ret;
}
int copy_siginfo_to_user32(struct compat_siginfo __user *to, siginfo_t *from) int copy_siginfo_to_user32(struct compat_siginfo __user *to, siginfo_t *from)
{ {
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment