Skip to content

Commit fabdf9f

Browse files
author
MarcoFalke
committed
Remove gui-only syscalls
* Revert "util: Add inotify_rm_watch to syscall sandbox (AllowFileSystem)" This reverts commit f05a4cd. * Revert "util: add linkat to syscall sandbox (AllowFileSystem)" This reverts commit 9809db3.
1 parent fa0c2aa commit fabdf9f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/util/syscall_sandbox.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,6 @@ 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
596-
allowed_syscalls.insert(__NR_linkat); // create relative to a directory file descriptor
597595
allowed_syscalls.insert(__NR_lstat); // get file status
598596
allowed_syscalls.insert(__NR_mkdir); // create a directory
599597
allowed_syscalls.insert(__NR_newfstatat); // get file status

0 commit comments

Comments
 (0)