[CRIU] [PATCH 2/2] check: dump seccomp filters is in --ms

Tycho Andersen tycho.andersen at canonical.com
Fri Feb 5 10:53:39 PST 2016


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 at canonical.com>
---
 cr-check.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/cr-check.c b/cr-check.c
index ecb0b50..07f8315 100644
--- a/cr-check.c
+++ b/cr-check.c
@@ -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;
-- 
2.5.0



More information about the CRIU mailing list