util: add linkat to syscall sandbox (AllowFileSystem)

pull/24659/head
fanquake 3 years ago
parent 864fb89b2f
commit 9809db3577
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -592,6 +592,7 @@ public:
allowed_syscalls.insert(__NR_getcwd); // get current working directory
allowed_syscalls.insert(__NR_getdents); // get directory entries
allowed_syscalls.insert(__NR_getdents64); // get directory entries
allowed_syscalls.insert(__NR_linkat); // create relative to a directory file descriptor
allowed_syscalls.insert(__NR_lstat); // get file status
allowed_syscalls.insert(__NR_mkdir); // create a directory
allowed_syscalls.insert(__NR_newfstatat); // get file status

Loading…
Cancel
Save