[PATCH v3 0/7] [PIDNS] Final
Dmitry V. Levin
ldv at altlinux.org
Sat Jul 25 21:33:28 UTC 2020
On Sat, Jul 25, 2020 at 08:47:20PM +0200, Ákos Uzonyi wrote:
> On Sat, 25 Jul 2020 at 20:23, Dmitry V. Levin <ldv at altlinux.org> wrote:
> > 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.
> Indeed, I don't know what I thought when I wrote this :).
In tests we could check NS_GET_USERNS instead of NS_GET_PARENT
if the former is more simple.
More information about the Strace-devel