--- /dev/null
+From: Jeff Mahoney <jeffm@suse.com>
+Subject: [PATCH] LSM: Export security_inode_permission for aufs
+Patch-mainline: Never
+References: 356902
+
+ In order for aufs to work with AppArmor, it needs to be able to call
+ security_inode_permission itself.
+
+ This patch is a _workaround_ since the author will need to find a
+ mainline-compatible solution moving forward.
+
+Signed-off-by: Jeff Mahoney <jeffm@suse.com>
+---
+ security/security.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/security/security.c
++++ b/security/security.c
+@@ -412,6 +412,7 @@ int security_inode_mknod(struct inode *d
+ return 0;
+ return security_ops->inode_mknod(dir, dentry, mnt, mode, dev);
+ }
++EXPORT_SYMBOL_GPL(security_inode_permission);
+
+ int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
+ struct vfsmount *old_mnt, struct inode *new_dir,