"Serge E. Hallyn" <serue@us.ibm.com> writes:I have not looked at many of the implementation possibilities so unfortunately I don't know what makes for a good implementation. What I do know is that uids are serialized in filesystems, and their mapping between namespaces is defined by system administrators. Both of those properties are different from struct pid. Which means a generalized struct user in the kernel can at best hold a cache of the mappings. My preliminary investigations suggested that for the kernel filesystem boundary generating a struct user or a struct group just to use for a permission check and then to throw it away was wasteful. However for inkernel entities a struct user sounds practical. All of which is to say that we can learn lessons from the implementation of struct pid but that we also have different requirements so we can only use those lessons in a limited fashion. 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
| Mariusz Kozlowski | [PATCH 12] fs/reiser4/plugin/file/cryptcompress.c: kmalloc + memset conversion to ... |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Eric Paris | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Pardo | Re: pthread_create() slow for many threads; also time to revisit 64b context switc... |
git: | |
| Aaron Bentley | Re: VCS comparison table |
| Ken Pratt | pack operation is thrashing my server |
| Jonas Fonseca | Re: First cut at git port to Cygwin |
| Ingo Molnar | [OT] Your branch is ahead of the tracked remote branch 'origin/master' by 50 commi... |
| Richard Stallman | Real men don't attack straw men |
| Richard Stallman | Re: Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Predrag Punosevac | Skype on the OpenBSD |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Rick Emerson | Re: [comp.os.linux]: Re: File system issues! |
| Doug Evans | Re: Stabilizing Linux |
| Dong Liu | Re: CXterm for LINUX |
