You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
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
|