Skip to content

Commit

Permalink
mount_utils: s/OPEN_TREE_CLONE | OPEN_TREE_CLONE/OPEN_TREE_CLONE | OP…
Browse files Browse the repository at this point in the history
…EN_TREE_CLOEXEC/g

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 26, 2021
1 parent b01c4bf commit dcd1178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/mount_utils.c
Expand Up @@ -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_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;

if (!is_empty_string(path_from)) {
Expand Down

0 comments on commit dcd1178

Please sign in to comment.