[PATCH v3 0/7] [PIDNS] Final

Dmitry V. Levin ldv at altlinux.org
Sat Jul 25 18:23:23 UTC 2020


On Sat, Jul 25, 2020 at 01:12:36AM +0200, Ákos Uzonyi wrote:
> From: Uzonyi Ákos <uzonyi.akos at gmail.com>
> 
> Currently pidns tests are skipped if kernel version < 4.9. Hopefully the patch
> will be accepted in the kernel, so compat processes will have
> ioctl(NS_GET_PARENT) too on >=4.9 kernels.

Whenever the kernel is fixed wrt NS_GET_PARENT, it will take many months
before the fix is trickled down to all relevant kernels running in github,
obs, travis and other ci environments.

In other words, we should be checking whether NS_GET_PARENT works
and skip pidns tests when it fails with ENOTTY.


-- 
ldv


More information about the Strace-devel mailing list