mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Merge bitcoin/bitcoin#24659: util: add linkat to syscall sandbox (AllowFileSystem)
9809db3577
util: add linkat to syscall sandbox (AllowFileSystem) (fanquake) Pull request description: Should fix #24536. ACKs for top commit: MarcoFalke: cr ACK9809db3577
Rspigler: Tested ACK (commit9809db3577
) - this fixes https://github.com/bitcoin/bitcoin/issues/24536 Tree-SHA512: 2642f7dfa806e166fb32639a29b509b2edc8b919516c1f12430fc96f9887952395e157d71ef99fbaef8f7bcce1920530c24ecbce605b8a374b05d586f1f22a24
This commit is contained in:
commit
dc0ba8ce9f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue