diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-04-04 14:38:46 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-04-05 13:30:06 +0200 |
commit | fabdf9f870a4c07cb3548c3b385438f02179ea88 (patch) | |
tree | 345b5ea52fccc24cf97252f7303826ce59b2789d /src/util/syscall_sandbox.cpp | |
parent | fa0c2aa826282fe40d2ce7becb4eb6d4814447a3 (diff) |
Remove gui-only syscalls
* Revert "util: Add inotify_rm_watch to syscall sandbox (AllowFileSystem)"
This reverts commit f05a4cdf5a0363e1c12f00c034afb60e7ea0c775.
* Revert "util: add linkat to syscall sandbox (AllowFileSystem)"
This reverts commit 9809db3577f0fa618bea42635b1581e628a30395.
Diffstat (limited to 'src/util/syscall_sandbox.cpp')
-rw-r--r-- | src/util/syscall_sandbox.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/syscall_sandbox.cpp b/src/util/syscall_sandbox.cpp index 8a8c8c7cae..a69f815ce4 100644 --- a/src/util/syscall_sandbox.cpp +++ b/src/util/syscall_sandbox.cpp @@ -592,8 +592,6 @@ 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 allowed_syscalls.insert(__NR_newfstatat); // get file status |