[CRIU] [PATCH 1/9] x86: syscalls -- Wire in sys_setgroups

Cyrill Gorcunov gorcunov at openvz.org
Thu Dec 17 01:14:09 PST 2015


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/x86/syscalls/syscall_32.tbl | 1 +
 arch/x86/syscalls/syscall_64.tbl | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index 0f17afcb7426..4aca2496a489 100644
--- a/arch/x86/syscalls/syscall_32.tbl
+++ b/arch/x86/syscalls/syscall_32.tbl
@@ -52,6 +52,7 @@ __NR_capset		185		sys_capset		(struct cap_header *h, struct cap_data *d)
 __NR_sigaltstack	186		sys_sigaltstack		(const void *uss_ptr, void *uoss_ptr)
 __NR_mmap2		192		sys_mmap		(void *addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff)
 __NR_getgroups32	205		sys_getgroups		(int gsize, unsigned int *groups)
+__NR_setgroups32	206		sys_setgroups		(int gsize, unsigned int *groups)
 __NR_setresuid32	208		sys_setresuid		(int uid, int euid, int suid)
 __NR_getresuid32	209		sys_getresuid		(int *uid, int *euid, int *suid)
 __NR_setresgid32	210		sys_setresgid		(int gid, int egid, int sgid)
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl
index 421002c366d0..221b62121fb2 100644
--- a/arch/x86/syscalls/syscall_64.tbl
+++ b/arch/x86/syscalls/syscall_64.tbl
@@ -49,6 +49,7 @@ __NR_readlink			89		sys_readlink		(const char *path, char *buf, int bufsize)
 __NR_umask			95		sys_umask		(int mask)
 __NR_ptrace			101		sys_ptrace		(long request, pid_t pid, void *addr, void *data)
 __NR_getgroups			115		sys_getgroups		(int gsize, unsigned int *groups)
+__NR_setgroups			116		sys_setgroups		(int gsize, unsigned int *groups)
 __NR_setresuid			117		sys_setresuid		(int uid, int euid, int suid)
 __NR_getresuid			118		sys_getresuid		(int *uid, int *euid, int *suid)
 __NR_setresgid			119		sys_setresgid		(int gid, int egid, int sgid)
-- 
2.5.0



More information about the CRIU mailing list