aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsandbox/libsandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
index 7e179b3..5a92b8e 100644
--- a/libsandbox/libsandbox.c
+++ b/libsandbox/libsandbox.c
@@ -696,6 +696,7 @@ static int check_access(sbcontext_t *sbcontext, int sb_nr, const char *func, con
* of the symlink's parent also have write access. */
struct stat st;
if ((sb_nr == SB_NR_UNLINK ||
+ sb_nr == SB_NR_UNLINKAT ||
sb_nr == SB_NR_LCHOWN ||
sb_nr == SB_NR_RENAME ||
sb_nr == SB_NR_SYMLINK) &&