Thread (2 messages) 2 messages, 2 authors, 2016-07-24

Re: [PATCH 2/5] kernel: add a helper to get an owning user namespace for a namespace

From: W. Trevor King <hidden>
Date: 2016-07-24 17:05:32
Also in: linux-fsdevel, lkml

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: [off-list ref]

-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help