Re: [PATCH 2/5] kernel: add a helper to get an owning user namespace for a namespace
From: W. Trevor King
Date: Sun Jul 24 2016 - 13:07:54 EST
On Sun, Jul 24, 2016 at 09:30:03AM -0500, Eric W. Biederman wrote:
> I am not at all certain it makes sense to return -ENOENT.
>
> Without the -ENOENT check the code is much cleaner, and clearer.
This is fine with me, and makes even more sense for owner (user)
namespaces than it does for net namespaces [1]. At least, I can't
think of a reason why the root user namespace would have special
userspace-visible behavior ;).
Cheers,
Trevor
[1]: http://thread.gmane.org/gmane.linux.kernel.api/20626/focus=30639
Subject: Re: [PATCH 0/5 RFC] Add an interface to discover relationships between namespaces
Date: Sat, 23 Jul 2016 23:51:07 -0500
Message-ID: <877fcboczo.fsf@xxxxxxxxxxxxxxxxxxxxx>
--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
Attachment:
signature.asc
Description: OpenPGP digital signature