2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

syscall: Add sys_open_by_handle_at

Need it for inotify restore.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-05-04 13:38:00 +04:00
committed by Pavel Emelyanov
parent 5028f71c66
commit 3399650a9c
2 changed files with 2 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ struct cap_data {
struct sockaddr;
struct msghdr;
struct rusage;
struct file_handle;
#ifndef F_GETFD
#define F_GETFD 1

View File

@@ -54,5 +54,6 @@ __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_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)