Skip to content

Commit

Permalink
util: Add missing unlinkat to syscall sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Feb 14, 2022
1 parent af0b578 commit fa45597
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/syscall_sandbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ class SeccompPolicyBuilder
allowed_syscalls.insert(__NR_statfs); // get filesystem statistics
allowed_syscalls.insert(__NR_statx); // get file status (extended)
allowed_syscalls.insert(__NR_unlink); // delete a name and possibly the file it refers to
allowed_syscalls.insert(__NR_unlinkat); // delete relative to a directory file descriptor
}

void AllowFutex()
Expand Down

0 comments on commit fa45597

Please sign in to comment.