[CRIU] [PATCH 1/4] syscalls: Add futex robust list helpers

Cyrill Gorcunov gorcunov at openvz.org
Thu Aug 9 12:29:37 EDT 2012


Will need them for futex robust list c/r.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/syscall-types.h    |    1 +
 include/syscall-x86-64.def |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/syscall-types.h b/include/syscall-types.h
index 1501e3b..01f64c5 100644
--- a/include/syscall-types.h
+++ b/include/syscall-types.h
@@ -32,6 +32,7 @@ struct sockaddr;
 struct msghdr;
 struct rusage;
 struct file_handle;
+struct robust_list_head;
 
 #ifndef F_GETFD
 #define F_GETFD 1
diff --git a/include/syscall-x86-64.def b/include/syscall-x86-64.def
index bbb08e1..1cdfab6 100644
--- a/include/syscall-x86-64.def
+++ b/include/syscall-x86-64.def
@@ -58,6 +58,8 @@ __NR_get_thread_area	211		sys_get_thread_area	(user_desc_t *info)
 __NR_set_tid_address	218		sys_set_tid_address	(int *tid_addr)
 __NR_restart_syscall	219		sys_restart_syscall	(void)
 __NR_exit_group		231		sys_exit_group		(int error_code)
+__NR_set_robust_list	273		sys_set_robust_list	(struct robust_list_head *head, size_t len)
+__NR_get_robust_list	274		sys_get_robust_list	(int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
 __NR_open_by_handle_at	304		sys_open_by_handle_at	(int mountdirfd, struct file_handle *handle, int flags)
 __NR_setns		308		sys_setns		(int fd, int nstype)
 __NR_kcmp		312		sys_kcmp		(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)
-- 
1.7.7.6



More information about the CRIU mailing list