diff options
author | 2023-06-12 10:58:39 -0400 | |
---|---|---|
committer | 2023-06-12 12:00:04 -0400 | |
commit | cdc89a00ac0bc3170d4ca7bfc77bc2572ce076b0 (patch) | |
tree | a54daaf153a5ff7356735a4160112f425deb5c12 /libsandbox | |
parent | build: Fix libc path configure test for mold (diff) | |
download | sandbox-cdc89a00ac0bc3170d4ca7bfc77bc2572ce076b0.tar.gz sandbox-cdc89a00ac0bc3170d4ca7bfc77bc2572ce076b0.tar.bz2 sandbox-cdc89a00ac0bc3170d4ca7bfc77bc2572ce076b0.zip |
libsandbox: add lutimes to symlink_func
lutimes operates on symlinks, so we should not check for access against
the symlink target.
Bug: https://bugs.gentoo.org/908105
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r-- | libsandbox/libsandbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index 0ca2bc9..b9ef52e 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -679,6 +679,7 @@ static bool symlink_func(int sb_nr, int flags) sb_nr == SB_NR_LCHOWN || sb_nr == SB_NR_LREMOVEXATTR || sb_nr == SB_NR_LSETXATTR || + sb_nr == SB_NR_LUTIMES || sb_nr == SB_NR_REMOVE || sb_nr == SB_NR_RENAME || sb_nr == SB_NR_RENAMEAT || |