Re: [PATCH] Initial support for struct vfs_cred [0/1]

Luca Barbieri (ldb@ldb.ods.org)
31 Aug 2002 21:51:40 +0200


--=-sYEUNULf6EqN04Wodilt
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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.

--=-sYEUNULf6EqN04Wodilt
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9cR5Mdjkty3ft5+cRAnmqAJ9KTOt3XBm/Uvb+ckyeaI9cL2hODwCfcmPa
LC/gUQmq0D812qZf+TimNyo=
=GAtG
-----END PGP SIGNATURE-----

--=-sYEUNULf6EqN04Wodilt--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/