summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/signal32.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 21:48:01 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-04 00:16:06 +0100
commit441ff959072b3f4b0712b149a3398f76f8ddfceb (patch)
tree613c3986272167ce03537c190544a199c3e88f7d /arch/parisc/kernel/signal32.c
parentparisc: switch to generic compat rt_sigpending() (diff)
downloadlinux-441ff959072b3f4b0712b149a3398f76f8ddfceb.tar.xz
linux-441ff959072b3f4b0712b149a3398f76f8ddfceb.zip
parisc: switch to generic compat rt_sigqueueinfo()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/signal32.c')
-rw-r--r--arch/parisc/kernel/signal32.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/parisc/kernel/signal32.c b/arch/parisc/kernel/signal32.c
index 1d41848ed27d..7769f9333e0c 100644
--- a/arch/parisc/kernel/signal32.c
+++ b/arch/parisc/kernel/signal32.c
@@ -404,22 +404,3 @@ copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from)
}
return err;
}
-
-asmlinkage long compat_sys_rt_sigqueueinfo(int pid, int sig,
- struct compat_siginfo __user *uinfo)
-{
- siginfo_t info;
-
- if (copy_siginfo_from_user32(&info, uinfo))
- return -EFAULT;
-
- /* Not even root can pretend to send signals from the kernel.
- Nor can they impersonate a kill(), which adds source info. */
- if (info.si_code >= 0)
- return -EPERM;
- info.si_signo = sig;
-
- /* POSIX.1b doesn't mention process groups. */
- return kill_proc_info(sig, &info, pid);
-}
-