[patch 06/22] pollfs: export the plsignal system call

From: Davi Arnaut
Date: Wed May 02 2007 - 01:42:54 EST


Export the new plsignal syscall prototype. While there, make it "conditional".

Signed-off-by: Davi E. M. Arnaut <davi@xxxxxxxxxxxxx>

---
include/linux/syscalls.h | 2 ++
kernel/sys_ni.c | 1 +
2 files changed, 3 insertions(+)

Index: linux-2.6/include/linux/syscalls.h
===================================================================
--- linux-2.6.orig/include/linux/syscalls.h
+++ linux-2.6/include/linux/syscalls.h
@@ -605,4 +605,6 @@ asmlinkage long sys_getcpu(unsigned __us

int kernel_execve(const char *filename, char *const argv[], char *const envp[]);

+asmlinkage long sys_plsignal(const sigset_t __user * set);
+
#endif
Index: linux-2.6/kernel/sys_ni.c
===================================================================
--- linux-2.6.orig/kernel/sys_ni.c
+++ linux-2.6/kernel/sys_ni.c
@@ -112,6 +112,7 @@ cond_syscall(sys_vm86old);
cond_syscall(sys_vm86);
cond_syscall(compat_sys_ipc);
cond_syscall(compat_sys_sysctl);
+cond_syscall(sys_plsignal);

/* arch-specific weak syscall entries */
cond_syscall(sys_pciconfig_read);

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/