util: Add missing unlinkat to syscall sandbox

This commit is contained in:
MarcoFalke 2022-02-14 17:20:40 +01:00
parent af0b578041
commit fa455975e5
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -600,6 +600,7 @@ public:
allowed_syscalls.insert(__NR_statfs); // get filesystem statistics allowed_syscalls.insert(__NR_statfs); // get filesystem statistics
allowed_syscalls.insert(__NR_statx); // get file status (extended) 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_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() void AllowFutex()