Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/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;
')