Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control. v2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Corbet
Date: Wednesday, March 3, 2010 - 1:29 pm

Quick question:


I assume that, at some future point when more than one namespace type
is supported, there will be a check to ensure that the type of the given
namespace matches nstype?  I can imagine all kinds of mayhem that could
result in the case of an accidental (or intentional) mismatch.

Actually, why does setns() require the nstype parameter at all?  A
namespace fd is certainly going to have to know what sort of namespace
it represents...

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] ns: Syscalls for better namespace sharing con ..., Eric W. Biederman, (Thu Feb 25, 1:57 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 2:49 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 2:54 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 3:31 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 5:53 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 6:26 pm)
[RFC][PATCH] ns: Syscalls for better namespace sharing con ..., Eric W. Biederman, (Thu Feb 25, 8:15 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 1:35 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:24 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:42 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:49 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 3:16 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 4:13 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 2:04 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 2:42 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 12:08 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 12:44 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 1, 12:24 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Sukadev Bhattiprolu, (Tue Mar 2, 2:19 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Sukadev Bhattiprolu, (Tue Mar 2, 5:07 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Wed Mar 3, 12:47 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Jonathan Corbet, (Wed Mar 3, 1:29 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 8, 10:29 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 8, 10:35 am)