## Tools for managing and hosting git repositories. ####################################### ## ## Execute a domain transition to run gitosis. ## ## ## ## Domain allowed to transition. ## ## # interface(`gitosis_domtrans',` gen_require(` type gitosis_t, gitosis_exec_t; ') domtrans_pattern($1, gitosis_exec_t, gitosis_t) ') ####################################### ## ## Execute gitosis-serve in the gitosis domain, and ## allow the specified role the gitosis domain. ## ## ## ## Domain allowed access ## ## ## ## ## Role allowed access. ## ## # interface(`gitosis_run',` gen_require(` type gitosis_t; ') gitosis_domtrans($1) role $2 types gitosis_t; ')