make inetd optional

This commit is contained in:
Chris PeBenito 2006-10-18 15:49:45 +00:00
parent 130f8a4aa5
commit d4a48c41c2

View File

@ -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)
')