Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/int: test for CAP_DAC_OVERRIDE
This is a test case for issue reported as #3715. In short, even if a (non-root) user that the container is run as does not have execute permission bit set for the executable, it should still work in case runc has the CAP_DAC_OVERRIDE capability set. Note that since the upstream golang is also broken (see [1]), this test will fail for Go 1.20 and 1.20.1 (fix is in Go 1.20.2 as per [2]). [1] https://go.dev/issue/58552 [2] https://go-review.googlesource.com/c/go/+/469956 Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit 8293ef2) Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information