mirror of
https://abf.rosa.ru/djam/kernel-5.13.git
synced 2025-02-25 16:12:50 +00:00
AUFS: export __devcgroup_check_permission (needed for the build)
This commit is contained in:
parent
69798e8bd9
commit
57651bee6b
1 changed files with 5 additions and 8 deletions
|
@ -38376,7 +38376,7 @@ index 48620c93d697..49811041dbd3 100644
|
||||||
#ifdef CONFIG_SECURITY
|
#ifdef CONFIG_SECURITY
|
||||||
|
|
||||||
diff --git a/security/device_cgroup.c b/security/device_cgroup.c
|
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
|
--- a/security/device_cgroup.c
|
||||||
+++ b/security/device_cgroup.c
|
+++ b/security/device_cgroup.c
|
||||||
@@ -8,6 +8,7 @@
|
@@ -8,6 +8,7 @@
|
||||||
|
@ -38387,14 +38387,11 @@ index c65b39bafdfe..bb113e4bcf4a 100644
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/uaccess.h>
|
#include <linux/uaccess.h>
|
||||||
#include <linux/seq_file.h>
|
#include <linux/seq_file.h>
|
||||||
@@ -763,6 +764,7 @@ static ssize_t devcgroup_access_write(struct kernfs_open_file *of,
|
@@ -824,3 +825,4 @@ int __devcgroup_check_permission(short type, u32 major, u32 minor,
|
||||||
mutex_unlock(&devcgroup_mutex);
|
|
||||||
return retval ?: nbytes;
|
|
||||||
}
|
|
||||||
+EXPORT_SYMBOL_GPL(__devcgroup_inode_permission);
|
|
||||||
|
|
||||||
static struct cftype dev_cgroup_files[] = {
|
return 0;
|
||||||
{
|
}
|
||||||
|
+EXPORT_SYMBOL_GPL(__devcgroup_check_permission);
|
||||||
diff --git a/security/security.c b/security/security.c
|
diff --git a/security/security.c b/security/security.c
|
||||||
index 1cd8526cb0b7..f2e473650a56 100644
|
index 1cd8526cb0b7..f2e473650a56 100644
|
||||||
--- a/security/security.c
|
--- a/security/security.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue