/usr/share/selinux/ubuntu/include/services/rlogin.if is in selinux-policy-ubuntu-dev 0.2.20091117-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ## <summary>Remote login daemon</summary>
########################################
## <summary>
## Execute rlogind in the rlogin domain.
## </summary>
## <param name="domain">
## <summary>
## The type of the process performing this action.
## </summary>
## </param>
#
interface(`rlogin_domtrans',`
gen_require(`
type rlogind_t, rlogind_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, rlogind_exec_t, rlogind_t)
')
########################################
## <summary>
## read rlogin homedir content (.config)
## </summary>
## <param name="userdomain_prefix">
## <summary>
## The prefix of the user domain (e.g., user
## is the prefix for user_t).
## </summary>
## </param>
## <param name="user_domain">
## <summary>
## The type of the user domain.
## </summary>
## </param>
#
template(`rlogin_read_home_content',`
gen_require(`
type rlogind_home_t;
')
userdom_search_user_home_dirs($1)
list_dirs_pattern($1, rlogind_home_t, rlogind_home_t)
read_files_pattern($1, rlogind_home_t, rlogind_home_t)
read_lnk_files_pattern($1, rlogind_home_t, rlogind_home_t)
')
|