2018-02-16 19:05:36

by Sugar, David

[permalink] [raw]
Subject: [refpolicy] [PATCH 3/5] Chronyd talks ntp client packets to get time from server

chronyd is an NTP client along with an NTP server. Change to allow chronyd to send/recv ntp client packets

Signed-off-by: Dave Sugar <[email protected]>
---
chronyd.te | 1 +
1 file changed, 1 insertion(+)

diff --git a/chronyd.te b/chronyd.te
index 09d7f83..f28dd5e 100644
--- a/chronyd.te
+++ b/chronyd.te
@@ -74,6 +74,7 @@ corenet_udp_sendrecv_generic_if(chronyd_t)
corenet_udp_sendrecv_generic_node(chronyd_t)
corenet_udp_bind_generic_node(chronyd_t)

+corenet_sendrecv_ntp_client_packets(chronyd_t)
corenet_sendrecv_ntp_server_packets(chronyd_t)
corenet_udp_bind_ntp_port(chronyd_t)
corenet_udp_sendrecv_ntp_port(chronyd_t)
--
2.14.3