[Ocfs2-devel] [PATCH 2/3] ocfs2: Add security xattr support in ocfs2
Mark Fasheh
mfasheh at suse.com
Mon Sep 22 23:28:53 PDT 2008
On Fri, Sep 19, 2008 at 05:42:33PM +0800, Tiger Yang wrote:
> This patch add security extended attribute support in ocfs2.
Ok, thanks for this.
> +struct xattr_handler ocfs2_xattr_security_handler = {
> + .prefix = XATTR_SECURITY_PREFIX,
> + .list = ocfs2_xattr_security_list,
> + .get = ocfs2_xattr_security_get,
> + .set = ocfs2_xattr_security_set,
> +};
Don't we need to add a call to 'security_inode_init_security()' when creating a new
inode?
The patch otherwise looks good. How was it tested?
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list