selinux-policy/policy/modules/services/cvs.if

39 lines
680 B
Plaintext
Raw Normal View History

2005-09-20 18:49:13 +00:00
## <summary>Concurrent versions system</summary>
########################################
## <summary>
## Read the CVS data and metadata.
## </summary>
## <param name="domain">
## <summary>
2005-09-20 18:49:13 +00:00
## Domain allowed access.
## </summary>
2005-09-20 18:49:13 +00:00
## </param>
#
interface(`cvs_read_data',`
gen_require(`
type cvs_data_t;
')
allow $1 cvs_data_t:file { getattr read };
')
########################################
## <summary>
## Allow the specified domain to execute cvs
## in the caller domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`cvs_exec',`
gen_require(`
type cvs_exec_t;
')
can_exec($1,cvs_exec_t)
')