Skip to content

Commit

Permalink
file_utils: remove O_NOFOLLOW from open_at() defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 26, 2021
1 parent d81eb91 commit 60e1cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/file_utils.c
Expand Up @@ -639,7 +639,7 @@ int open_at(int dfd, const char *path, unsigned int o_flags,
if (errno != ENOSYS)
return -errno;

return openat(dfd, path, O_NOFOLLOW | o_flags, mode);
return openat(dfd, path, o_flags, mode);
}

int fd_make_nonblocking(int fd)
Expand Down

0 comments on commit 60e1cd4

Please sign in to comment.