From 22f36ddfeda4731d5da7f90d1653ee9c46d3ea03 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 11 Jan 2023 17:24:54 +0100 Subject: [PATCH] update selinux policy (#2159919) --- linuxptp.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linuxptp.te b/linuxptp.te index a8dc3d1..3971913 100644 --- a/linuxptp.te +++ b/linuxptp.te @@ -170,6 +170,7 @@ manage_files_pattern(ptp4l_t, timemaster_tmpfs_t, timemaster_tmpfs_t) fs_tmpfs_filetrans(ptp4l_t, timemaster_tmpfs_t, { dir file }) corenet_udp_bind_generic_node(ptp4l_t) +corenet_udp_bind_ptp_event_port(ptp4l_t) corenet_udp_bind_reserved_port(ptp4l_t) kernel_read_network_state(ptp4l_t) @@ -180,7 +181,7 @@ files_write_generic_pid_sockets(ptp4l_t) logging_send_syslog_msg(ptp4l_t) -userdom_dgram_send(ptp4l_t) +userdom_users_dgram_send(ptp4l_t) optional_policy(` chronyd_rw_shm(ptp4l_t)