[PATCH v2 0/7] [PIDNS] Final

Dmitry V. Levin ldv at altlinux.org
Fri Jul 24 11:43:22 UTC 2020


On Thu, Jul 23, 2020 at 10:40:48PM +0200, Ákos Uzonyi wrote:
> On Wed, 22 Jul 2020 at 21:23, Dmitry V. Levin <ldv at altlinux.org> wrote:
[...]
> > When this is the case, there is no need to complain every time
> > NS_GET_PARENT is invoked.  I'd suggest to skip further NS_GET_PARENT
> > invocations if the first one failed with ENOTTY.
> 
> Agreed.

Please make sure that the function that uses NS_GET_PARENT returns
the same value after the first ENOTTY and in subsequent invocations
when NS_GET_PARENT is skipped.


-- 
ldv


More information about the Strace-devel mailing list