selinux-policy/policy/modules/services/cvs.if
2006-12-12 20:08:08 +00:00

39 lines
680 B
Plaintext

## <summary>Concurrent versions system</summary>
########################################
## <summary>
## Read the CVS data and metadata.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </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)
')