## Trivial file transfer protocol daemon
########################################
##
## All of the rules required to administrate
## an tftp environment
##
##
##
## Domain allowed access.
##
##
##
#
interface(`tftp_admin',`
gen_require(`
type tftpd_t, tftpdir_t, tftpdir_rw_t, tftpd_var_run_t;
')
allow $1 tftpd_t:process { ptrace signal_perms getattr };
ps_process_pattern($1, tftpd_t)
admin_pattern($1, tftpdir_rw_t)
admin_pattern($1, tftpdir_t)
files_list_pids($1)
admin_pattern($1, tftpd_var_run_t)
')