Re: [PATCH] Change LSM hooks in setxattr 2.5.69

viro@parcelfarce.linux.theplanet.co.uk
Wed, 7 May 2003 11:54:07 +0100


On Tue, May 06, 2003 at 12:21:05PM -0400, Stephen Smalley wrote:
> This patch against 2.5.69 adds a security_inode_post_setxattr hook so
> that security modules can update the inode security structure after a
> successful setxattr, and it moves the existing security_inode_setxattr
> hook call after the taking the inode semaphore so that atomicity is
> provided for the security check and the update to the inode security
> structure. Al, if you approve of this change, please acknowledge. If
> not, please advise as to what must change. Thanks.

<shrug> no objections, provided that existing code behind that hook doesn't
do anything that could deadlock under ->i_sem. Seeing that it's your code...
-
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/