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

