[CRIU] [PATCH] test: don't run cow01 in userns

Pavel Emelyanov xemul at parallels.com
Wed Mar 25 07:17:06 PDT 2015


On 03/24/2015 03:44 PM, Andrey Vagin wrote:
> /proc/pid/pagemap is protected by the global CAP_SYS_ADMIN, so
> it can't be opened in a non-root userns.
> 
> 00:34:48.260 Execute ns/user/static/cow01
> ...
> 00:34:48.260 12:37:03.951:     4: ERR: cow01.c:87: Unable to open child pagemap file /proc/5/pagemap (errno = 1 (Operation not permitted))
> 
> Reported-by: Mr Jenkins
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied



More information about the CRIU mailing list