Projects STRLCPY criu Commits 60ca3014
🤬
  • ■ ■ ■ ■
    .github/workflows/compat-test.yml
    skipped 3 lines
    4 4   
    5 5  jobs:
    6 6   build:
    7  - runs-on: ubuntu-20.04
     7 + runs-on: ubuntu-22.04
    8 8   strategy:
    9 9   matrix:
    10 10   target: [GCC, CLANG]
    skipped 7 lines
  • ■ ■ ■ ■ ■
    scripts/build/Dockerfile.alpine
    skipped 20 lines
    21 21   py3-pip \
    22 22   py3-protobuf \
    23 23   python3 \
    24  - sudo
     24 + sudo \
     25 + libcap-utils \
     26 + util-linux
    25 27   
    26 28  COPY . /criu
    27 29  WORKDIR /criu
    skipped 22 lines
  • ■ ■ ■ ■ ■ ■
    scripts/ci/run-ci-tests.sh
    skipped 216 lines
    217 217   exit 0
    218 218  fi
    219 219   
     220 +# Rootless tests
     221 +last_cap=$(cat /proc/sys/kernel/cap_last_cap)
     222 +# CAP_CHECKPOINT_RESTORE is 40.
     223 +if [ "$last_cap" -ge 40 ]; then
     224 + make -C test/zdtm/ cleanout
     225 + rm -rf test/dump
     226 + setcap cap_checkpoint_restore,cap_sys_ptrace+eip criu/criu
     227 + sudo --user=#65534 --group=#65534 unshare -Ucfpm --mount-proc -- bash -c "./test/zdtm.py run -t zdtm/static/maps00 -f h --rootless && true"
     228 + setcap -r criu/criu
     229 +fi
     230 + 
     231 +./criu/criu check || true
     232 + 
    220 233  ./test/zdtm.py run -a -p 2 --keep-going "${ZDTM_OPTS[@]}"
    221 234  if criu/criu check --feature move_mount_set_group; then
    222 235   ./test/zdtm.py run -a -p 2 --mntns-compat-mode --keep-going "${ZDTM_OPTS[@]}"
    skipped 92 lines
Please wait...
Page is in error, reload to recover