From 2efd8f441fb955abbe732ec4234d33a67c516d4d Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sat, 10 Feb 2007 03:05:05 +0000 Subject: [PATCH] Also fix up function prototype (hunk ended up in the wrong patch). --- .../for-mainline/apparmor-dir-rename-fix.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/kernel-patches/for-mainline/apparmor-dir-rename-fix.diff b/kernel-patches/for-mainline/apparmor-dir-rename-fix.diff index d32c70867..820fe9311 100644 --- a/kernel-patches/for-mainline/apparmor-dir-rename-fix.diff +++ b/kernel-patches/for-mainline/apparmor-dir-rename-fix.diff @@ -210,3 +210,16 @@ Index: b/security/apparmor/main.c goto out; sa.type = AA_AUDITTYPE_FILE; +Index: b/security/apparmor/apparmor.h +=================================================================== +--- a/security/apparmor/apparmor.h ++++ b/security/apparmor/apparmor.h +@@ -209,7 +209,7 @@ extern int aa_perm_xattr(struct aa_profi + const char *xattr_xattr, int mask); + extern int aa_capability(struct aa_profile *active, int cap); + extern int aa_perm(struct aa_profile *active, struct dentry *dentry, +- struct vfsmount *mnt, int mask); ++ struct vfsmount *mnt, int mask, int leaf); + extern int aa_perm_dir(struct aa_profile *active, struct dentry *dentry, + struct vfsmount *mnt, const char *operation, int mask); + extern int aa_link(struct aa_profile *active,