[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160724170532.GB5395@odin.tremily.us>
Date: Sun, 24 Jul 2016 10:05:32 -0700
From: "W. Trevor King" <wking@...mily.us>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Andrew Vagin <avagin@...tuozzo.com>,
Andrey Vagin <avagin@...nvz.org>, criu@...nvz.org,
linux-api@...r.kernel.org, containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org,
"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
Subject: Re: [PATCH 2/5] kernel: add a helper to get an owning user namespace
for a namespace
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@...0.int.ebiederm.org>
--
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
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists