[strace/strace] tests/pidns.c: skip some namespace tests in chroot (#190)

J Farkas notifications at github.com
Tue Jul 20 17:20:05 UTC 2021

ioctl(NS_GET_USERNS) fails when run in a chrooted environment,
which is a common way to build with distributions these days.

Handling EPERM allows these tests to be skipped when the
the tests are run in the same environment.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * tests/pidns.c: skip some namespace tests in chroot

-- File Changes --

    M tests/pidns.c (17)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20210720/a09b049a/attachment.htm>

More information about the Strace-devel mailing list