att: rename one patch for uniform format and donot skip security.evm copy for ima

rename one patch for uniform format and donot skip security.evm copy for ima

Fix issue: https://gitee.com/src-openeuler/attr/issues/I4RYVQ

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit 37869d3d43ca252ba4376641cde82e7003843ecb)
This commit is contained in:
Zhiqiang Liu 2022-01-30 10:50:44 +08:00 committed by openeuler-sync-bot
parent 6f64f23279
commit 37d3778a2a
3 changed files with 32 additions and 2 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
%{!?_licensedir:%global license %%doc}
Name: attr
Version: 2.4.48
Release: 14
Release: 15
Summary: Commands for Manipulating Filesystem Extended Attributes
License: GPLv2+ AND LGPLv2+
URL: https://savannah.nongnu.org/projects/attr
@ -10,7 +10,8 @@ Source0: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.
# fix test-suite failure with perl-5.26.0 (#1473853)
Patch0000: 0000-attr-2.4.48-test-suite-perl.patch
Patch0001: 0001-bypass-wrong-output-when-enabled-selinux.patch
Patch6000: 6000-Switch-back-to-syscall.patch
Patch0002: 0002-Switch-back-to-syscall.patch
Patch0003: 0003-dont-skip-security.evm-when-copy-xattr.patch
BuildRequires: gettext, libtool, chrpath, gcc, git, gdb
@ -97,6 +98,9 @@ fi
%{_mandir}/man3/*
%changelog
* Sun Jan 30 2022 Zhiqiang Liu <liuzhiqiang26@huawei.com> -2.4.48-15
- rename one patch for uniform format and donot skip security.evm copy for ima
* Sat Nov 20 2021 yanglongkang <yanglongkang@huawei.com> -2.4.48-14
- make check add judgment condition