## Policy for local logins.
########################################
##
## Execute local logins in the local login domain.
##
##
## The type of the process performing this action.
##
#
interface(`locallogin_domtrans',`
gen_require(`
type local_login_t;
')
auth_domtrans_login_program($1,local_login_t)
')
########################################
##
## Allow processes to inherit local login file descriptors
##
##
## The type of the process performing this action.
##
#
interface(`locallogin_use_fd',`
gen_require(`
type local_login_t;
class fd use;
')
allow $1 local_login_t:fd use;
')
########################################
##
## Send a null signal to local login processes.
##
##
## Domain allowed access.
##
#
interface(`locallogin_signull',`
gen_require(`
type local_login_t;
class process signull;
')
allow $1 local_login_t:process signull;
')