Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966362AbWKNV1H (ORCPT ); Tue, 14 Nov 2006 16:27:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966366AbWKNV1H (ORCPT ); Tue, 14 Nov 2006 16:27:07 -0500 Received: from mail5.sea5.speakeasy.net ([69.17.117.7]:34712 "EHLO mail5.sea5.speakeasy.net") by vger.kernel.org with ESMTP id S966362AbWKNV1E (ORCPT ); Tue, 14 Nov 2006 16:27:04 -0500 Date: Tue, 14 Nov 2006 16:27:01 -0500 (EST) From: James Morris X-X-Sender: jmorris@d.namei To: David Howells cc: Linus Torvalds , Andrew Morton , Stephen Smalley , trond.myklebust@fys.uio.no, selinux@tycho.nsa.gov, linux-kernel@vger.kernel.org, aviro@redhat.com, steved@redhat.com Subject: Re: [PATCH 16/19] CacheFiles: Deal with LSM when accessing the cache In-Reply-To: <20061114200656.12943.98985.stgit@warthog.cambridge.redhat.com> Message-ID: References: <20061114200621.12943.18023.stgit@warthog.cambridge.redhat.com> <20061114200656.12943.98985.stgit@warthog.cambridge.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 23 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 - 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/