Skip to content

Commit fa45597

Browse files
author
MarcoFalke
committed
util: Add missing unlinkat to syscall sandbox
1 parent af0b578 commit fa45597

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/syscall_sandbox.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ class SeccompPolicyBuilder
600600
allowed_syscalls.insert(__NR_statfs); // get filesystem statistics
601601
allowed_syscalls.insert(__NR_statx); // get file status (extended)
602602
allowed_syscalls.insert(__NR_unlink); // delete a name and possibly the file it refers to
603+
allowed_syscalls.insert(__NR_unlinkat); // delete relative to a directory file descriptor
603604
}
604605

605606
void AllowFutex()

0 commit comments

Comments
 (0)