0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

util: Add inotify_rm_watch to syscall sandbox (AllowFileSystem)

This commit is contained in:
Hennadii Stepanov 2022-03-28 09:14:29 +02:00
parent 3297f5c11c
commit f05a4cdf5a
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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_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_lstat); // get file status
allowed_syscalls.insert(__NR_mkdir); // create a directory