[CRIU] [PATCH 26/27] seccomp: Allow to dump thread with different seccomps

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 1 15:41:48 MSK 2018


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 criu/seize.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/criu/seize.c b/criu/seize.c
index 5dfbab277581..38f9419022be 100644
--- a/criu/seize.c
+++ b/criu/seize.c
@@ -727,14 +727,6 @@ static int collect_threads(struct pstree_item *item)
 		if (seccomp_collect_entry(pid, t_creds.s.seccomp_mode))
 			goto err;
 
-		if (task_seccomp_entry->mode != t_creds.s.seccomp_mode) {
-			pr_err("Unsupported seccomp mode change: tids %d %d modes %d %d\n",
-			       item->pid->real, pid,
-			       task_seccomp_entry->mode,
-			       t_creds.s.seccomp_mode);
-			goto err;
-		}
-
 		if (ret == TASK_STOPPED) {
 			nr_stopped++;
 		}
-- 
2.14.3



More information about the CRIU mailing list