]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xattr.c
VFS: Factor out part of vfs_setxattr so it can be called from the SELinux hook for...
authorDavid P. Quigley <dpquigl@tycho.nsa.gov>
Thu, 3 Sep 2009 18:25:56 +0000 (14:25 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 10 Sep 2009 00:11:22 +0000 (10:11 +1000)
commitb1ab7e4b2a88d3ac13771463be8f302ce1616cfc
treec08825120cb290a4307d36ee0bee806ad2aae83c
parent733e5e4b4eb1bc1e27acbe092200154051171426
VFS: Factor out part of vfs_setxattr so it can be called from the SELinux hook for inode_setsecctx.

This factors out the part of the vfs_setxattr function that performs the
setting of the xattr and its notification. This is needed so the SELinux
implementation of inode_setsecctx can handle the setting of the xattr while
maintaining the proper separation of layers.

Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/xattr.c
include/linux/xattr.h