diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-28 09:14:29 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-28 09:14:29 +0200 |
commit | f05a4cdf5a0363e1c12f00c034afb60e7ea0c775 (patch) | |
tree | 4d3589f14d0d24151d893427e60199e3881e4463 /src | |
parent | 3297f5c11c72dd83479ff8335e047555e3f8cb3b (diff) |
util: Add inotify_rm_watch to syscall sandbox (AllowFileSystem)
Diffstat (limited to 'src')
-rw-r--r-- | src/util/syscall_sandbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/syscall_sandbox.cpp b/src/util/syscall_sandbox.cpp index efc58914b6..a05efac602 100644 --- a/src/util/syscall_sandbox.cpp +++ b/src/util/syscall_sandbox.cpp @@ -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 |