Re: [PATCH 16/19] CacheFiles: Deal with LSM when accessing the cache

From: James Morris
Date: Tue Nov 14 2006 - 16:27:26 EST


On Tue, 14 Nov 2006, David Howells wrote:

> @@ -80,6 +81,8 @@ struct cachefiles_cache {
> struct rb_root active_nodes; /* active nodes (can't be culled) */
> rwlock_t active_lock; /* lock for active_nodes */
> atomic_t gravecounter; /* graveyard uniquifier */
> + u32 access_sid; /* cache access SID */
> + u32 cache_sid; /* cache fs object SID */

Please uniformly name these security IDs 'secids' in the main kernel, to
avoid confusion with session IDs.



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