mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
sandbox: add copy_file_range to allowed filesystem syscalls
This commit is contained in:
parent
ee08741c9c
commit
44d77d2213
1 changed files with 27 additions and 26 deletions
|
@ -539,6 +539,7 @@ public:
|
|||
allowed_syscalls.insert(__NR_access); // check user's permissions for a file
|
||||
allowed_syscalls.insert(__NR_chdir); // change working directory
|
||||
allowed_syscalls.insert(__NR_chmod); // change permissions of a file
|
||||
allowed_syscalls.insert(__NR_copy_file_range); // copy a range of data from one file to another
|
||||
allowed_syscalls.insert(__NR_fallocate); // manipulate file space
|
||||
allowed_syscalls.insert(__NR_fchmod); // change permissions of a file
|
||||
allowed_syscalls.insert(__NR_fchown); // change ownership of a file
|
||||
|
|
Loading…
Add table
Reference in a new issue