diff options
Diffstat (limited to 'test/sys/test_uio.rs')
-rw-r--r-- | test/sys/test_uio.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index 3e4fc28c..62c9f954 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -200,6 +200,7 @@ fn test_process_vm_readv() { use nix::sys::signal::*; use nix::sys::wait::*; + require_capability!(CAP_SYS_PTRACE); let _ = ::FORK_MTX.lock().expect("Mutex got poisoned by another test"); // Pre-allocate memory in the child, since allocation isn't safe |