[CRIU] [PATCH 1/2] don't assume the kernel has CONFIG_SECCOMP
Pavel Emelyanov
xemul at parallels.com
Thu Jun 25 08:15:43 PDT 2015
>> Why is this required? If criu finds seccomp mark in /proc, then shouldn't
>> it properly parse one?
>
> The problem is when it doesn't have Seccomp:. We won't get to 9 things
> parsed, even though we check for 9 things. I suppose it's not strictly
> necessary in the while() loop, but the check for success below
> requires it.
Ah, but then this check is not about CONFIG_HAS_SECCOMP (user space library) but
purely about kernel. Either we meet one there or not, but we should not depend on
the userspace library presence.
-- Pavel
More information about the CRIU
mailing list