selinux-refpolicy/policy/modules/services/telnet.if
2018-06-23 10:38:58 -04:00

21 lines
386 B
Plaintext

## <summary>Telnet daemon.</summary>
########################################
## <summary>
## Read and write telnetd pty devices.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`telnet_use_ptys',`
gen_require(`
type telnetd_devpts_t;
')
term_list_ptys($1)
allow $1 telnetd_devpts_t:chr_file rw_term_perms;
')