diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-10-01 13:52:16 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-10-01 17:52:50 +0200 |
commit | d338bfff4a083b64f405249c49b87f2b74a7d9b8 (patch) | |
tree | e4dc0da5d5938c90844200ce8c820bf7a19d1356 /src/basic/fs-util.h | |
parent | shared/uid-range: reduce scope of iterator variables (diff) | |
download | systemd-d338bfff4a083b64f405249c49b87f2b74a7d9b8.tar.xz systemd-d338bfff4a083b64f405249c49b87f2b74a7d9b8.zip |
basic/fileio: add chase_symlinks_and_fopen_unlocked()
Diffstat (limited to '')
-rw-r--r-- | src/basic/fs-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h index eb6e1eee4f..2a785f690d 100644 --- a/src/basic/fs-util.h +++ b/src/basic/fs-util.h @@ -79,7 +79,7 @@ enum { CHASE_PREFIX_ROOT = 1 << 0, /* The specified path will be prefixed by the specified root before beginning the iteration */ CHASE_NONEXISTENT = 1 << 1, /* It's OK if the path doesn't actually exist. */ CHASE_NO_AUTOFS = 1 << 2, /* Return -EREMOTE if autofs mount point found */ - CHASE_SAFE = 1 << 3, /* Return EPERM if we ever traverse from unprivileged to privileged files or directories */ + CHASE_SAFE = 1 << 3, /* Return -EPERM if we ever traverse from unprivileged to privileged files or directories */ CHASE_TRAIL_SLASH = 1 << 4, /* Any trailing slash will be preserved */ CHASE_STEP = 1 << 5, /* Just execute a single step of the normalization */ CHASE_NOFOLLOW = 1 << 6, /* Do not follow the path's right-most component. With ret_fd, when the path's |