[CRIU] [PATCH 1/4] check: seccomp suspend is now in mainline

Tycho Andersen tycho.andersen at canonical.com
Thu Oct 15 15:28:07 PDT 2015


As of
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: 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 4842d9d..21bd508 100644
--- a/cr-check.c
+++ b/cr-check.c
@@ -589,11 +589,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();
 	if (pid < 0)
 		return -1;
-- 
2.1.4



More information about the CRIU mailing list