Commit fe76ccde authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

check: suspend seccomp is in --ms

As of 4.3,
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=13c4a9011
PTRACE_O_SUSPEND_SECCOMP is in the mainline kernel, so we should check for
it in --ms.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent e25c6251
......@@ -620,11 +620,6 @@ static int check_ptrace_suspend_seccomp(void)
pid_t pid;
int ret = 0;
if (opts.check_ms_kernel) {
pr_warn("Skipping PTRACE_O_SUSPEND_SECCOMP check\n");
return 0;
}
pid = fork_and_ptrace_attach(NULL);
if (pid < 0)
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment