mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
util: add linkat to syscall sandbox (AllowFileSystem)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user