"Serge E. Hallyn" <serue@us.ibm.com> writes:I definitely think we should have some support like that. We already have code in nfsv4 and p9fs if I remember correctly to make between the user namespace of the server (which is string based) and the uids of the local machine. We also have a similar issue with security keys. I don't know if the strict hierarchical nature we have makes a lot of sense. One of the things that we should account for is that frequently user namespaces are kept in sync between multiple machines by system administrators. So in the real world user namespaces are a system administrator boundary. Yes. The user namespace of the process that opened the pipe I believe is the right choice there. Yes. For the pids we have been looking at sending the pid in the target namespace and sending the uid in the target namespace should be no more difficult. Right. Long term we want to look at making this an unprivileged operation. Allowing a user to run less privileged processes. My impression has always been that going from comparing (userns, uid) to a more sophisticated mapping approach was a compatible extension. However if it looks like we need user namespace mapping support up front to get the semantics clean I have no problem with that. I think you are on the right track. In a lot of ways the user namespace is the trickiest, as this is where we change the security rules. If it is only at the level of who is who. Since we already have user namespace mapping infrastructure in the kernel and ways to call back to user space to ask what the mapping should be, I feel performing mapping in the user namespace and generalizing the existing capability is a good idea. We still want to tell users if you can get away with it synchronize your user namespaces across file systems, and kernels, and machines. If they can't having good general tools in the kernel that you only need to learn once and not once per instance sounds good. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc8 |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Satyam Sharma | Re: 2.6.23-rc4-mm1 "no CRC" MODPOST warnings |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Bill Lear | Dangers of working on a tracking branch |
| Jeff King | Re: What's cooking in git/spearce.git (topics) |
| Jason Garber | git push [rejected] question |
| Maxim Gordienko | [GIT-P4] usage under Windows |
| Richard Stallman | Real men don't attack straw men |
| Leon Dippenaar | New tcp stack attack |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Brandon Lee | DELL PERC 5iR slow performance |
| Jeff Garzik | Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
| Paul Moore | [PATCH v7 00/17] Labeled networking patches for 2.6.28 |
| Denys Vlasenko | Re: bnx2 dirver's firmware images |
| Herbert Xu | Re: csum offload and af_packet |
