From 57651bee6bbc1c77852ebccc4ff8567c3d72d290 Mon Sep 17 00:00:00 2001 From: Evgenii Shatokhin Date: Mon, 12 Feb 2018 13:42:37 +0300 Subject: [PATCH] AUFS: export __devcgroup_check_permission (needed for the build) --- fs-aufs4.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/fs-aufs4.patch b/fs-aufs4.patch index dcbd33c..efd4425 100644 --- a/fs-aufs4.patch +++ b/fs-aufs4.patch @@ -38376,7 +38376,7 @@ index 48620c93d697..49811041dbd3 100644 #ifdef CONFIG_SECURITY diff --git a/security/device_cgroup.c b/security/device_cgroup.c -index c65b39bafdfe..bb113e4bcf4a 100644 +index c65b39bafdfe..e363d2205c29 100644 --- a/security/device_cgroup.c +++ b/security/device_cgroup.c @@ -8,6 +8,7 @@ @@ -38387,14 +38387,11 @@ index c65b39bafdfe..bb113e4bcf4a 100644 #include #include #include -@@ -763,6 +764,7 @@ static ssize_t devcgroup_access_write(struct kernfs_open_file *of, - mutex_unlock(&devcgroup_mutex); - return retval ?: nbytes; - } -+EXPORT_SYMBOL_GPL(__devcgroup_inode_permission); +@@ -824,3 +825,4 @@ int __devcgroup_check_permission(short type, u32 major, u32 minor, - static struct cftype dev_cgroup_files[] = { - { + return 0; + } ++EXPORT_SYMBOL_GPL(__devcgroup_check_permission); diff --git a/security/security.c b/security/security.c index 1cd8526cb0b7..f2e473650a56 100644 --- a/security/security.c