security: allow finer granularity in permitting copy-up of security xattrs
[linux-2.6-block.git] / security / selinux / hooks.c
index 3448454c82d033f7be8a6b942c462c6816360302..9f018f51e47a929addee667599d66096d2a90f98 100644 (file)
@@ -3530,7 +3530,7 @@ static int selinux_inode_copy_up(struct dentry *src, struct cred **new)
        return 0;
 }
 
-static int selinux_inode_copy_up_xattr(const char *name)
+static int selinux_inode_copy_up_xattr(struct dentry *dentry, const char *name)
 {
        /* The copy_up hook above sets the initial context on an inode, but we
         * don't then want to overwrite it by blindly copying all the lower