selinux-refpolicy/policy/modules/apps/gitosis.te

42 lines
955 B
Plaintext
Raw Normal View History

2010-12-13 14:12:22 +00:00
policy_module(gitosis, 1.2.0)
2009-09-03 13:52:08 +00:00
########################################
#
# Declarations
#
type gitosis_t;
type gitosis_exec_t;
application_domain(gitosis_t, gitosis_exec_t)
role system_r types gitosis_t;
type gitosis_var_lib_t;
files_type(gitosis_var_lib_t)
########################################
#
# gitosis local policy
#
allow gitosis_t self:fifo_file rw_fifo_file_perms;
exec_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
manage_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
manage_lnk_files_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
manage_dirs_pattern(gitosis_t, gitosis_var_lib_t, gitosis_var_lib_t)
2010-06-28 14:34:17 +00:00
kernel_read_system_state(gitosis_t)
corecmd_exec_bin(gitosis_t)
2009-09-03 13:52:08 +00:00
corecmd_exec_shell(gitosis_t)
2010-06-28 14:34:17 +00:00
dev_read_urand(gitosis_t)
2009-09-03 13:52:08 +00:00
2010-06-28 14:34:17 +00:00
files_read_etc_files(gitosis_t)
2009-09-03 13:52:08 +00:00
files_read_usr_files(gitosis_t)
files_search_var_lib(gitosis_t)
miscfiles_read_localization(gitosis_t)
2010-06-28 14:34:17 +00:00
sysnet_read_config(gitosis_t)