Skip to content
Commit 80c92e90 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Pavel Emelyanov
Browse files

report the potential selinux problem if mmap_seized() fails



selinux can deny mmap(PROT_WRITE | PROT_EXEC) and in this case it is
not clear why CRIU fails, "Can't allocate memory for parasite blob"
doesn't tell too much. Add a pr_warn() hint for the user.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Acked-by: default avatarCyrill <Gorcunov&lt;gorcunov@openvz.org>
Acked-by: default avatarRuslan Kuprieiev <rkuprieiev@cloudlinux.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d885caf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment