[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0608231604350.5728@d.namei>
Date: Wed, 23 Aug 2006 16:04:58 -0400 (EDT)
From: James Morris <jmorris@...ei.org>
To: Eric Paris <eparis@...hat.com>
cc: linux-kernel@...r.kernel.org, akpm@...l.org, sds@...ho.nsa.gov,
James Morris <jmorris@...hat.com>
Subject: Re: [PATCH] SELinux: 1/3 eliminate inode_security_set_security
On Wed, 23 Aug 2006, Eric Paris wrote:
> inode_security_set_sid is only called by security_inode_init_security,
> which is called when a new file is being created and needs to have its
> incore security state initialized and its security xattr set. This
> helper used to be called in other places in the past, but now only has
> the one. So this patch rolls inode_security_set_sid directly back into
> security_inode_init_security. There also is no need to hold the
> isec->sem while doing this, as the inode is not available to other
> threads at this point in time.
>
> This is being targeted for 2.6.19
>
> Signed-off-by: Eric Paris <eparis@...hat.com>
> Acked-by: Stephen Smalley <sds@...ho.nsa.gov>
Acked-by: James Morris <jmorris@...ei.org>
--
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists