[CRIU] [PATCH 01/12] posix-timer: Add proper syscalls definition.

Pavel Tikhomirov snorcht at gmail.com
Thu Jun 27 12:32:17 EDT 2013


Signed-off-by: Pavel Tikhomirov <snorcht at gmail.com>
---
 arch/x86/syscall-x86-64.def |    5 +++++
 include/syscall-types.h     |    2 ++
 2 files changed, 7 insertions(+)

diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def
index 4888b39..99ea38a 100644
--- a/arch/x86/syscall-x86-64.def
+++ b/arch/x86/syscall-x86-64.def
@@ -75,6 +75,11 @@ __NR_set_thread_area	205		sys_set_thread_area	(user_desc_t *info)
 __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_sys_timer_create	222		sys_timer_create	(clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id)
+__NR_sys_timer_settime	223		sys_timer_settime	(timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting)
+__NR_sys_timer_gettime	224		sys_timer_gettime	(int timer_id, const struct itimerspec *setting)
+__NR_sys_timer_getoverrun	225		sys_timer_getoverrun	(int timer_id)
+__NR_sys_timer_delete	226		sys_timer_delete	(timer_t timer_id)
 __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)
diff --git a/include/syscall-types.h b/include/syscall-types.h
index 4526e34..ca22b8e 100644
--- a/include/syscall-types.h
+++ b/include/syscall-types.h
@@ -31,6 +31,8 @@ struct rusage;
 struct file_handle;
 struct robust_list_head;
 
+struct itimerspec;
+
 #ifndef F_GETFD
 #define F_GETFD 1
 #endif
-- 
1.7.9.5



More information about the CRIU mailing list