2005-09-20 18:49:13 +00:00
|
|
|
## <summary>Concurrent versions system</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Read the CVS data and metadata.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-09-20 18:49:13 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </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 };
|
|
|
|
')
|
2006-05-17 14:50:31 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <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;
|
|
|
|
')
|
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
can_exec($1, cvs_exec_t)
|
2006-05-17 14:50:31 +00:00
|
|
|
')
|