diff options
author | fanquake <fanquake@gmail.com> | 2022-03-24 11:48:36 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-24 11:48:36 +0000 |
commit | 9809db3577f0fa618bea42635b1581e628a30395 (patch) | |
tree | 4319cb5c06864aa14fa7c1c915c7435ffbe266cc | |
parent | 864fb89b2f8b529121a0d39b6fbc0242d19fd506 (diff) | |
download | bitcoin-9809db3577f0fa618bea42635b1581e628a30395.tar.xz |
util: add linkat to syscall sandbox (AllowFileSystem)
-rw-r--r-- | src/util/syscall_sandbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/syscall_sandbox.cpp b/src/util/syscall_sandbox.cpp index f2a9cf664d..efc58914b6 100644 --- a/src/util/syscall_sandbox.cpp +++ b/src/util/syscall_sandbox.cpp @@ -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 |