mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
util: Add inotify_rm_watch 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_getcwd); // get current working directory
|
||||||
allowed_syscalls.insert(__NR_getdents); // get directory entries
|
allowed_syscalls.insert(__NR_getdents); // get directory entries
|
||||||
allowed_syscalls.insert(__NR_getdents64); // get directory entries
|
allowed_syscalls.insert(__NR_getdents64); // get directory entries
|
||||||
|
allowed_syscalls.insert(__NR_inotify_rm_watch);// remove an existing watch from an inotify instance
|
||||||
allowed_syscalls.insert(__NR_linkat); // create relative to a directory file descriptor
|
allowed_syscalls.insert(__NR_linkat); // create relative to a directory file descriptor
|
||||||
allowed_syscalls.insert(__NR_lstat); // get file status
|
allowed_syscalls.insert(__NR_lstat); // get file status
|
||||||
allowed_syscalls.insert(__NR_mkdir); // create a directory
|
allowed_syscalls.insert(__NR_mkdir); // create a directory
|
||||||
|
|||||||
Reference in New Issue
Block a user