mount_utils: s/OPEN_TREE_CLONE | OPEN_TREE_CLONE/OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC/g

parent 79ff643d
...@@ -244,7 +244,7 @@ int fd_bind_mount(int dfd_from, const char *path_from, ...@@ -244,7 +244,7 @@ int fd_bind_mount(int dfd_from, const char *path_from,
{ {
__do_close int __fd_from = -EBADF, __fd_to = -EBADF; __do_close int __fd_from = -EBADF, __fd_to = -EBADF;
__do_close int fd_tree_from = -EBADF; __do_close int fd_tree_from = -EBADF;
unsigned int open_tree_flags = AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLONE; unsigned int open_tree_flags = AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC;
int fd_from, fd_to, ret; int fd_from, fd_to, ret;
if (!is_empty_string(path_from)) { if (!is_empty_string(path_from)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment