diff --git a/policy/modules/services/tftp.te b/policy/modules/services/tftp.te index 4c998cd58..5ae29b79a 100644 --- a/policy/modules/services/tftp.te +++ b/policy/modules/services/tftp.te @@ -1,5 +1,5 @@ -policy_module(tftp,1.1.2) +policy_module(tftp,1.1.3) ######################################## # @@ -9,7 +9,6 @@ policy_module(tftp,1.1.2) type tftpd_t; type tftpd_exec_t; init_daemon_domain(tftpd_t,tftpd_exec_t) -inetd_udp_service_domain(tftpd_t,tftpd_exec_t) type tftpd_var_run_t; files_pid_file(tftpd_var_run_t) @@ -90,6 +89,10 @@ ifdef(`targeted_policy', ` files_dontaudit_read_root_files(tftpd_t) ') +optional_policy(` + inetd_udp_service_domain(tftpd_t,tftpd_exec_t) +') + optional_policy(` nscd_socket_use(tftpd_t) ')