distgit: install another custom selinux policy
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
a6a5686038
commit
1ef758c408
2 changed files with 22 additions and 0 deletions
14
roles/distgit/files/http_policy.te
Normal file
14
roles/distgit/files/http_policy.te
Normal file
|
@ -0,0 +1,14 @@
|
|||
#============= httpd_sys_script_t ==============
|
||||
allow httpd_sys_script_t git_content_t:dir search;
|
||||
allow httpd_sys_script_t gitosis_var_lib_t:dir { getattr search };
|
||||
allow httpd_sys_script_t self:capability { audit_write dac_read_search setgid setuid sys_resource };
|
||||
allow httpd_sys_script_t self:netlink_audit_socket { create nlmsg_relay };
|
||||
allow httpd_sys_script_t self:process setrlimit;
|
||||
allow httpd_sys_script_t shadow_t:file { getattr open read };
|
||||
|
||||
#============= httpd_t ==============
|
||||
allow httpd_t git_content_t:dir { add_name remove_name write };
|
||||
allow httpd_t git_content_t:file { create rename setattr unlink write };
|
||||
allow httpd_t gitosis_var_lib_t:dir { add_name create remove_name rmdir write };
|
||||
allow httpd_t gitosis_var_lib_t:file { create link rename unlink write };
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue