selinux-policy/policy/modules/roles/logadm.if

51 lines
901 B
Plaintext
Raw Normal View History

2009-03-19 17:56:10 +00:00
## <summary>Log administrator role</summary>
########################################
## <summary>
## Change to the log administrator role.
## </summary>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`logadm_role_change',`
gen_require(`
role logadm_r;
')
allow $1 logadm_r;
')
########################################
## <summary>
## Change from the log administrator role.
## </summary>
## <desc>
## <p>
## Change from the log administrator role to
## the specified role.
## </p>
## <p>
## This is an interface to support third party modules
## and its use is not allowed in upstream reference
## policy.
## </p>
## </desc>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`logadm_role_change_to',`
gen_require(`
role logadm_r;
')
allow logadm_r $1;
')