nix icon indicating copy to clipboard operation
nix copied to clipboard

ptctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, addr, len, invalid_name) returns EFAULT rather than EINVAL under QEMU

Open SteveLauC opened this issue 1 year ago • 10 comments
trafficstars

When I bump the CI Linux runner from Ubuntu 20.04 to 22.04, this test fails under QEMU for some architectures, it failed in this line:

failures:

---- test_prctl::test_set_vma_anon_name stdout ----
thread 'test_prctl::test_set_vma_anon_name' panicked at 'assertion failed: `(left == right)`
  left: `EFAULT`,
 right: `EINVAL`', test/sys/test_prctl.rs:149:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test_prctl::test_set_vma_anon_name

SteveLauC avatar May 25 '24 12:05 SteveLauC