[selinux-policy: 1625/3172] make inetd optional

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:25:35 UTC 2010


commit d4a48c41c2eedd544e79f13e3148e104478f108f
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed Oct 18 15:49:45 2006 +0000

    make inetd optional

 policy/modules/services/tftp.te |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/policy/modules/services/tftp.te b/policy/modules/services/tftp.te
index 4c998cd..5ae29b7 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)
@@ -91,6 +90,10 @@ ifdef(`targeted_policy', `
 ')
 
 optional_policy(`
+	inetd_udp_service_domain(tftpd_t,tftpd_exec_t)
+')
+
+optional_policy(`
 	nscd_socket_use(tftpd_t)
 ')
 


More information about the scm-commits mailing list