otherwise the kernel can return an error, one of these checks
is in xt_owner.c:owner_check():
...
if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) &&
(current_user_ns() != net->user_ns))
return -EINVAL;
...
https://jira.sw.ru/browse/PSBM-75531
---
criu/net.c |
https://jira.sw.ru/browse/PSBM-75112
Signed-off-by: Cyrill Gorcunov
---
crit/crit | 2 +-
criu/cr-dedup.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/crit/crit b/crit/crit
index a6a6832..6b42fa2 100755
--- a/crit/crit
+++ b/crit/crit
@@
Andrew, Kirill, take a look please. I think we should use %lu
for all images names instead of %d, but this will require more
code changes which I'm planning to do for vanilla criu first.
Cyrill Gorcunov (2):
vz7: image-desc -- Make pagemap and pagemap-shmem images to use lu
vz7: crit: Use lu
From: Eric Dumazet
commit 81b1a832d79749058863cffe2c0ed4ef40f6e6ec upstream.
I got a crash during a "perf top" session that was caused by a race in
__task_pid_nr_ns() :
pid_nr_ns() was inlined, but apparently compiler chose to read
task->pids[type].pid twice, and the