summaryrefslogtreecommitdiff
path: root/0003-dont-skip-security.evm-when-copy-xattr.patch
diff options
context:
space:
mode:
Diffstat (limited to '0003-dont-skip-security.evm-when-copy-xattr.patch')
-rw-r--r--0003-dont-skip-security.evm-when-copy-xattr.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0003-dont-skip-security.evm-when-copy-xattr.patch b/0003-dont-skip-security.evm-when-copy-xattr.patch
new file mode 100644
index 0000000..9930d8b
--- /dev/null
+++ b/0003-dont-skip-security.evm-when-copy-xattr.patch
@@ -0,0 +1,26 @@
+From 1da7c41a8df5649ba8996b0d446e0e9bd5b0a2d3 Mon Sep 17 00:00:00 2001
+From: zhangtianxing3 <zhangtianxing3@huawei.com>
+Date: Mon, 24 Jan 2022 11:39:36 +0800
+Subject: [PATCH] dont skip security.evm when copy xattr
+
+IMA feature need to use security.evm, so we should not skip
+
+Signed-off-by: lixiaokeng <lixiaokeng@huawei.com>
+Signed-off-by: volcanodragon <linfeilong@huawei.com>
+---
+ xattr.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xattr.conf b/xattr.conf
+index dcbc12c..125fd18 100644
+--- a/xattr.conf
++++ b/xattr.conf
+@@ -18,4 +18,4 @@ trusted.SGI_DMI_* skip # xfs specific
+ trusted.SGI_MAC_FILE skip # xfs specific
+ xfsroot.* skip # xfs specific; obsolete
+ user.Beagle.* skip # ignore Beagle index data
+-security.evm skip # may only be written by kernel
++#security.evm skip # may only be written by kernel
+--
+1.8.3.1
+