diff options
author | fanquake <fanquake@gmail.com> | 2022-03-24 11:48:36 +0000 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-03-31 10:30:14 +0200 |
commit | 85f85c7e5fce1ac1682bf62808d37f3da23614f7 (patch) | |
tree | 59ab7f17cad4223a9914aadfb24d7f45c14b1208 /src | |
parent | eaa04194b979635a3d8590a8409084159d1e6576 (diff) |
util: add linkat to syscall sandbox (AllowFileSystem)
Github-Pull: bitcoin#24659
Rebased-From: 9809db3
Diffstat (limited to 'src')
-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 |