add missing syscalls
PATCH 1/1 add missing syscalls
Add some missing syscalls.
Signed-off-by Robert Reif <[email protected]>
arch/sparc/kernel/systbls.S +3 -3
@@ -80,7 +80,7 @@ sys_call_table: /*295*/ .long sys_fchmodat, sys_faccessat, sys_pselect6, sys_ppoll, sys_unshare /*300*/ .long sys_set_robust_list, sys_get_robust_list, sys_migrate_pages, sys_mbind, sys_get_mempolicy /*305*/ .long sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait -/*310*/ .long sys_utimensat +/*310*/ .long sys_utimensat, sys_setresuid, sys_getresuid, sys_setresgid, sys_getresgid #ifdef CONFIG_SUNOS_EMUL /* Now the SunOS syscall table. */
@@ -197,6 +197,6 @@ sunos_sys_table: .long sunos_nosys, sunos_nosys, sunos_nosys .long sunos_nosys, sunos_nosys, sunos_nosys .long sunos_nosys -/*310*/ .long sunos_nosys - +/*310*/ .long sunos_nosys, sunos_nosys, sunos_nosys + .long sunos_nosys, sunos_nosys #endif
include/asm-sparc/unistd.h +5 -1
@@ -327,8 +327,12 @@ #define __NR_move_pages 307#define __NR_getcpu 308#define __NR_epoll_pwait 309#define __NR_utimensat 310 +#define __NR_setresuid 311 +#define __NR_getresuid 312 +#define __NR_setresgid 313 +#define __NR_getresgid 314 -#define NR_SYSCALLS 311 +#define NR_SYSCALLS 315#ifdef __KERNEL__#define __ARCH_WANT_IPC_PARSE_VERSION
David Miller
maintainerFrom: Robert Reif <[email protected]>
Date: Fri, 11 May 2007 06:55:08 -0400
Quoted 3 lines
Add some missing syscalls.
Signed-off-by Robert Reif <[email protected]>
This is not correct, the syscall checker is warning unnecessarily, I've looked into this one before.
Sparc supported the full 32-bit variants of these syscalls from the beginning so we don't have to have the old 16-bit versions in the system call table at all.