mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
check: dump seccomp filters is in --ms
As of 4.4, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f8e529ed9 c/r of seccomp filters is supported, so let's check for it in --ms. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
fe76ccde97
commit
2f41a8a823
@@ -663,11 +663,6 @@ static int check_ptrace_dump_seccomp_filters(void)
|
||||
pid_t pid;
|
||||
int ret = 0, len;
|
||||
|
||||
if (opts.check_ms_kernel) {
|
||||
pr_warn("Skipping PTRACE_SECCOMP_GET_FILTER check");
|
||||
return 0;
|
||||
}
|
||||
|
||||
pid = fork_and_ptrace_attach(setup_seccomp_filter);
|
||||
if (pid < 0)
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user