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,