From 7c72bab4e35abe8884c3def83aae42b6638685da Mon Sep 17 00:00:00 2001 From: Djalal Harouni Date: Thu, 5 Oct 2017 14:46:41 +0200 Subject: [PATCH] seccomp: remove 'gettid' syscall from '@process' syscall set (#6989) The gettid syscall is one of the most basic syscalls, it never fails and it operates on current thread. Most applications are not suposed to use it, however even if it is used there is no much justification on blocking it. This patch removes it from '@process' set so if users blacklist this set to block setns or clone syscalls, the gettid syscall will still be available. Of course they can always block gettid explicitly. Note that the gettid is already in the '@default' set. --- src/shared/seccomp-util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 73dc571b6bb..a2354325d18 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -647,7 +647,6 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "execveat\0" "fork\0" "getrusage\0" - "gettid\0" "kill\0" "prctl\0" "rt_sigqueueinfo\0"