!93 allow rpcbind to bind all udp ports
From: @HuaxinLuGitee Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
926cb56c45
24
allow-rpcbind-to-bind-all-port.patch
Normal file
24
allow-rpcbind-to-bind-all-port.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 9c6736b1920930c116a859d5002966c8d8e87dcf Mon Sep 17 00:00:00 2001
|
||||
From: luhuaxin <1539327763@qq.com>
|
||||
Date: Thu, 27 May 2021 20:06:28 +0800
|
||||
Subject: [PATCH] allow rpcbind to bind all port
|
||||
|
||||
---
|
||||
policy/modules/contrib/rpcbind.te | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/policy/modules/contrib/rpcbind.te b/policy/modules/contrib/rpcbind.te
|
||||
index bc7a4fa..3a87568 100644
|
||||
--- a/policy/modules/contrib/rpcbind.te
|
||||
+++ b/policy/modules/contrib/rpcbind.te
|
||||
@@ -67,6 +67,7 @@ corenet_sendrecv_all_server_packets(rpcbind_t)
|
||||
corenet_tcp_bind_portmap_port(rpcbind_t)
|
||||
corenet_udp_bind_portmap_port(rpcbind_t)
|
||||
corenet_udp_bind_all_rpc_ports(rpcbind_t)
|
||||
+corenet_udp_bind_all_ports(rpcbind_t)
|
||||
|
||||
corecmd_exec_shell(rpcbind_t)
|
||||
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
Summary: SELinux policy configuration
|
||||
Name: selinux-policy
|
||||
Version: 3.14.2
|
||||
Release: 69
|
||||
Release: 70
|
||||
License: GPLv2+
|
||||
URL: https://github.com/fedora-selinux/selinux-policy/
|
||||
|
||||
@ -69,6 +69,7 @@ Patch16: add-avc-for-openEuler-1.patch
|
||||
Patch17: add-firewalld-fc.patch
|
||||
Patch18: backport-systemd-allow-all-systemd-services-to-check-selinux-.patch
|
||||
Patch19: backport-Allow-dovecot-bind-to-smtp-ports.patch
|
||||
Patch20: allow-rpcbind-to-bind-all-port.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3 gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils-devel >= %{POLICYCOREUTILSVER} bzip2 gcc
|
||||
@ -735,6 +736,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 27 2021 luhuaxin <1539327763@qq.com> - 3.14.2-70
|
||||
- allow rpcbind to bind all port
|
||||
|
||||
* Thu May 27 2021 luhuaxin <1539327763@qq.com> - 3.14.2-69
|
||||
- close selinux on sp2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user