ci: Add maps00 test in unprivileged mode in user namespace

CAP_CHECKPOINT_RESTORE does not give access to /proc/$pid/map_files in
user namespaces. In order to test that CRIU in unprivileged mode can
dump and restore anonymous shared memory pages we will run the maps00
tests in a user namespace.

Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
This commit is contained in:
Younes Manton 2023-02-02 09:43:37 -08:00 committed by Andrei Vagin
parent d2abc9817f
commit d7da4a69af
3 changed files with 23 additions and 1 deletions

View file

@ -21,7 +21,9 @@ RUN apk update && apk add \
py3-pip \
py3-protobuf \
python3 \
sudo
sudo \
libcap-utils \
util-linux
COPY . /criu
WORKDIR /criu