summaryrefslogtreecommitdiff
path: root/0002-dont-skip-security.evm-when-copy-xattr.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-10 18:11:21 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-10 18:11:21 +0000
commitb77c31ee7fec9fa88757272c0183f0e4a4cb539e (patch)
treebb497abb4c3d7449e38167873b8b187cd0380866 /0002-dont-skip-security.evm-when-copy-xattr.patch
parentbfd5213577468566ff33b6c638f6a28910e64ee0 (diff)
automatic import of attropeneuler24.03_LTS
Diffstat (limited to '0002-dont-skip-security.evm-when-copy-xattr.patch')
-rw-r--r--0002-dont-skip-security.evm-when-copy-xattr.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/0002-dont-skip-security.evm-when-copy-xattr.patch b/0002-dont-skip-security.evm-when-copy-xattr.patch
new file mode 100644
index 0000000..c0ce82b
--- /dev/null
+++ b/0002-dont-skip-security.evm-when-copy-xattr.patch
@@ -0,0 +1,27 @@
+From 0aa9a1568fc318345c4123fc19f825933f8dcb66 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 1affac5..07d3403 100644
+--- a/xattr.conf
++++ b/xattr.conf
+@@ -18,5 +18,5 @@ 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
+ afs.* skip # AFS metadata and ACLs
+--
+1.8.3.1
+