## Remote login daemon
########################################
##
## Execute rlogind in the rlogin domain.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`rlogin_domtrans',`
gen_require(`
type rlogind_t, rlogind_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, rlogind_exec_t, rlogind_t)
')
########################################
##
## read rlogin homedir content (.config)
##
##
##
## The prefix of the user domain (e.g., user
## is the prefix for user_t).
##
##
##
##
## The type of the user domain.
##
##
#
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)
')