[CRIU] [PATCH] i386/syscall_32: add missing sys_openat()

Dmitry Safonov dsafonov at virtuozzo.com
Fri Feb 26 07:18:02 PST 2016


Fixes commit e7d89a60b69d ("add openat() to syscall list").
Nip: move sys_seccomp for numerical order

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 criu/arch/x86/syscalls/syscall_32.tbl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/criu/arch/x86/syscalls/syscall_32.tbl b/criu/arch/x86/syscalls/syscall_32.tbl
index 04d10d1..c527122 100644
--- a/criu/arch/x86/syscalls/syscall_32.tbl
+++ b/criu/arch/x86/syscalls/syscall_32.tbl
@@ -74,8 +74,8 @@ __NR_timer_gettime	261		sys_timer_gettime	(int timer_id, struct itimerspec *sett
 __NR_timer_getoverrun	262		sys_timer_getoverrun	(int timer_id)
 __NR_timer_delete	263		sys_timer_delete	(kernel_timer_t timer_id)
 __NR_clock_gettime	265		sys_clock_gettime	(int which_clock, struct timespec *tp)
-__NR_seccomp		354		sys_seccomp		(unsigned int op, unsigned int flags, const char *uargs)
 __NR_waitid		284		sys_waitid		(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
+__NR_openat		295		sys_openat		(int dfd, const char *filename, int flags, int mode)
 __NR_readlinkat		305		sys_readlinkat		(int fd, const char *path, char *buf, int bufsize)
 __NR_set_robust_list	311		sys_set_robust_list	(struct robust_list_head *head, size_t len)
 __NR_get_robust_list	312		sys_get_robust_list	(int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
@@ -89,4 +89,5 @@ __NR_prlimit64		340		sys_prlimit64		(pid_t pid, unsigned int resource, const str
 __NR_open_by_handle_at	342		sys_open_by_handle_at	(int mountdirfd, struct file_handle *handle, int flags)
 __NR_setns		346		sys_setns		(int fd, int nstype)
 __NR_kcmp		349		sys_kcmp		(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)
+__NR_seccomp		354		sys_seccomp		(unsigned int op, unsigned int flags, const char *uargs)
 __NR_memfd_create	356		sys_memfd_create	(const char *name, unsigned int flags)
-- 
2.7.1



More information about the CRIU mailing list