Blame policy/modules/apps/gitosis.te
|
Chris PeBenito |
29af4c |
policy_module(gitosis, 1.1.0)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
########################################
|
|
Chris PeBenito |
dbed95 |
#
|
|
Chris PeBenito |
dbed95 |
# Declarations
|
|
Chris PeBenito |
dbed95 |
#
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
type gitosis_t;
|
|
Chris PeBenito |
dbed95 |
type gitosis_exec_t;
|
|
Chris PeBenito |
dbed95 |
application_domain(gitosis_t, gitosis_exec_t)
|
|
Chris PeBenito |
dbed95 |
role system_r types gitosis_t;
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
type gitosis_var_lib_t;
|
|
Chris PeBenito |
dbed95 |
files_type(gitosis_var_lib_t)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
########################################
|
|
Chris PeBenito |
dbed95 |
#
|
|
Chris PeBenito |
dbed95 |
# gitosis local policy
|
|
Chris PeBenito |
dbed95 |
#
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
allow gitosis_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
exec_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
|
|
Chris PeBenito |
dbed95 |
manage_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
|
|
Chris PeBenito |
dbed95 |
manage_lnk_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
|
|
Chris PeBenito |
dbed95 |
manage_dirs_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
corecmd_exec_bin(gitosis_t)
|
|
Chris PeBenito |
dbed95 |
corecmd_exec_shell(gitosis_t)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
kernel_read_system_state(gitosis_t)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
files_read_usr_files(gitosis_t)
|
|
Chris PeBenito |
dbed95 |
files_search_var_lib(gitosis_t)
|
|
Chris PeBenito |
dbed95 |
|
|
Chris PeBenito |
dbed95 |
miscfiles_read_localization(gitosis_t)
|