Blame policy/modules/services/rlogin.if
|
Chris PeBenito |
17de1b |
## <summary>Remote login daemon</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Execute rlogind in the rlogin domain.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Dominick Grift |
288845 |
## Domain allowed to transition.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`rlogin_domtrans',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type rlogind_t, rlogind_exec_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8021cb |
corecmd_search_bin($1)
|
|
Chris PeBenito |
0bfccd |
domtrans_pattern($1, rlogind_exec_t, rlogind_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
455155 |
|
|
Chris PeBenito |
455155 |
########################################
|
|
Chris PeBenito |
455155 |
## <summary>
|
|
Chris PeBenito |
455155 |
## read rlogin homedir content (.config)
|
|
Chris PeBenito |
455155 |
## </summary>
|
|
Chris PeBenito |
455155 |
## <param name="userdomain_prefix">
|
|
Chris PeBenito |
455155 |
## <summary>
|
|
Chris PeBenito |
455155 |
## The prefix of the user domain (e.g., user
|
|
Chris PeBenito |
455155 |
## is the prefix for user_t).
|
|
Chris PeBenito |
455155 |
## </summary>
|
|
Chris PeBenito |
455155 |
## </param>
|
|
Chris PeBenito |
455155 |
## <param name="user_domain">
|
|
Chris PeBenito |
455155 |
## <summary>
|
|
Chris PeBenito |
455155 |
## The type of the user domain.
|
|
Chris PeBenito |
455155 |
## </summary>
|
|
Chris PeBenito |
455155 |
## </param>
|
|
Chris PeBenito |
455155 |
#
|
|
Chris PeBenito |
455155 |
template(`rlogin_read_home_content',`
|
|
Chris PeBenito |
455155 |
gen_require(`
|
|
Chris PeBenito |
455155 |
type rlogind_home_t;
|
|
Chris PeBenito |
455155 |
')
|
|
Chris PeBenito |
455155 |
|
|
Chris PeBenito |
455155 |
userdom_search_user_home_dirs($1)
|
|
Chris PeBenito |
455155 |
list_dirs_pattern($1, rlogind_home_t, rlogind_home_t)
|
|
Chris PeBenito |
455155 |
read_files_pattern($1, rlogind_home_t, rlogind_home_t)
|
|
Chris PeBenito |
455155 |
read_lnk_files_pattern($1, rlogind_home_t, rlogind_home_t)
|
|
Chris PeBenito |
455155 |
')
|