1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
diff --git a/vendor/github.com/lxc/lxd/lxd/include/syscall_wrappers.h b/vendor/github.com/lxc/lxd/lxd/include/syscall_wrappers.h
index 2c28133a8..a6975ab4d 100644
--- a/vendor/github.com/lxc/lxd/lxd/include/syscall_wrappers.h
+++ b/vendor/github.com/lxc/lxd/lxd/include/syscall_wrappers.h
@@ -26,10 +26,10 @@ static inline int lxd_close_range(unsigned int fd, unsigned int max_fd, unsigned
return syscall(__NR_close_range, fd, max_fd, flags);
}
-static inline int open_tree(int dfd, const char *filename, unsigned int flags)
+/* static inline int open_tree(int dfd, const char *filename, unsigned int flags)
{
return syscall(__NR_open_tree, dfd, filename, flags);
-}
+}*/
/*
* mount_setattr()
@@ -40,7 +40,7 @@ struct lxc_mount_attr {
__u64 propagation;
__u64 userns_fd;
};
-
+/*
static inline int mount_setattr(int dfd, const char *path, unsigned int flags,
struct lxc_mount_attr *attr, size_t size)
{
@@ -53,6 +53,7 @@ static inline int move_mount(int from_dfd, const char *from_pathname, int to_dfd
return syscall(__NR_move_mount, from_dfd, from_pathname, to_dfd,
to_pathname, flags);
}
+*/
/* arg1 of prctl() */
#ifndef PR_SCHED_CORE
|