Messages in this thread |  | | Subject | Re: [PATCH] Initial support for struct vfs_cred [0/1] | From | Luca Barbieri <> | Date | 31 Aug 2002 21:51:40 +0200 |
| |
Forgot to mention that, of course, the vfs_cred_groups struct needs to be recreated if modified and we must keep an atomic reference count in it. This allows to avoid having to copy the whole groups array for each task on modification. uid and gid instead are placed directly in task_struct since checking them is faster and thus needs more optimization. Same reasoning applies for eventual ACLs or similar structures.
[unhandled content-type:application/pgp-signature] |  |