!59 add file context for firewalld temporary file
From: @nettingsisyphus Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
8b839e9819
12
add-firewalld-fc.patch
Normal file
12
add-firewalld-fc.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uprN selinux-policy-9c84d687e0fef5d8e4e25273bd25f58c28a7c67c.orig/policy/modules/contrib/firewalld.fc selinux-policy-9c84d687e0fef5d8e4e25273bd25f58c28a7c67c/policy/modules/contrib/firewalld.fc
|
||||
--- selinux-policy-9c84d687e0fef5d8e4e25273bd25f58c28a7c67c.orig/policy/modules/contrib/firewalld.fc 2020-09-03 14:43:46.690880806 +0200
|
||||
+++ selinux-policy-9c84d687e0fef5d8e4e25273bd25f58c28a7c67c/policy/modules/contrib/firewalld.fc 2020-09-10 17:25:25.126199087 +0200
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
/usr/sbin/firewalld -- gen_context(system_u:object_r:firewalld_exec_t,s0)
|
||||
|
||||
+/usr/share/firewalld/firewalld-tmp-mmap -- gen_context(system_u:object_r:firewalld_tmp_t,s0)
|
||||
+
|
||||
/var/log/firewalld.* -- gen_context(system_u:object_r:firewalld_var_log_t,s0)
|
||||
|
||||
/var/run/firewalld(/.*)? gen_context(system_u:object_r:firewalld_var_run_t,s0)
|
||||
@ -12,7 +12,7 @@
|
||||
Summary: SELinux policy configuration
|
||||
Name: selinux-policy
|
||||
Version: 3.14.2
|
||||
Release: 64
|
||||
Release: 65
|
||||
License: GPLv2+
|
||||
URL: https://github.com/fedora-selinux/selinux-policy/
|
||||
|
||||
@ -66,6 +66,7 @@ Patch13: allow-systemd-to-mount-unlabeled-filesystemd.patch
|
||||
Patch14: add_userman_access_run_dir.patch
|
||||
Patch15: add-allow-systemd-timedated-to-unlink-etc-link.patch
|
||||
Patch16: add-avc-for-openEuler-1.patch
|
||||
Patch17: add-firewalld-fc.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3 gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils-devel >= %{POLICYCOREUTILSVER} bzip2 gcc
|
||||
@ -732,6 +733,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Dec 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-65
|
||||
- add add-firewalld-fc.patch
|
||||
|
||||
* Sun Dec 13 2020 luhuaxin <1539327763@qq.com> - 3.14.2-64
|
||||
- add avc for openEuler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user