Closed bchalios closed 1 year ago
There's a weird dependency blocking this from merging. I guess it's about what steps need to pass before allowing it to merge. There's not a build
job any more because of the matrix. But I can't fix that, I don't seem to have access to this part of the settings.
i turned branch protection off temporarily, I'll fix it for real when I have more time later today.
It looks as if when we opened #56
ubuntu-latest
Github Actions runner image did not ship a kernel that was >= 6.1. So, the code that created the userfault file descriptor did not use the ioctl to/dev/userfaultfd
path and it always succeeded (using theuserfaultfd
syscall).It seems that at some point afterwards
ubuntu-latest
came with an update kernel (6.2) and it triggered the/dev/userfaultfd
path. As a result, the test fails onmain
and subsequent PRs (#57) because the Github actions job runs as the userrunner
which doesn't have access to read/write/dev/userfaultfd
.This PR fixes this situation doing two things:
ubuntu-latest
, with kernel 6.2 andubuntu-20.04
, with kernel 5.15 to exercise both paths.ubuntu-latest
, we add an extra step that gives to userrunner
read/write access to/dev/userfaultfd
file.