Oreon-Lime-R2/selinux-policy/selinux-policy-bc228bd/selinux-policy-bc228bd0c249a9e4aa3dcf238c2b1bb138943b07/policy/modules/contrib/telnet.if

20 lines
386 B
Text

## <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;
')