Skip to content

Commit 174af33

Browse files
hebastojonatack
authored andcommitted
util: Add inotify_rm_watch to syscall sandbox (AllowFileSystem)
Github-Pull: bitcoin#24690 Rebased-From: f05a4cd
1 parent ded10fe commit 174af33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/syscall_sandbox.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ class SeccompPolicyBuilder
592592
allowed_syscalls.insert(__NR_getcwd); // get current working directory
593593
allowed_syscalls.insert(__NR_getdents); // get directory entries
594594
allowed_syscalls.insert(__NR_getdents64); // get directory entries
595+
allowed_syscalls.insert(__NR_inotify_rm_watch);// remove an existing watch from an inotify instance
595596
allowed_syscalls.insert(__NR_linkat); // create relative to a directory file descriptor
596597
allowed_syscalls.insert(__NR_lstat); // get file status
597598
allowed_syscalls.insert(__NR_mkdir); // create a directory

0 commit comments

Comments
 (0)