blob: 582db0a2e4f3d0206f57603b901e67d97b708dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
policy_module(gitosis, 1.4.0)
########################################
#
# Declarations
#
## <desc>
## <p>
## Determine whether Gitosis can send mail.
## </p>
## </desc>
gen_tunable(gitosis_can_sendmail, false)
attribute_role gitosis_roles;
roleattribute system_r gitosis_roles;
type gitosis_t;
type gitosis_exec_t;
application_domain(gitosis_t, gitosis_exec_t)
role gitosis_roles types gitosis_t;
type gitosis_var_lib_t;
files_type(gitosis_var_lib_t)
########################################
#
# 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)
kernel_read_system_state(gitosis_t)
corenet_all_recvfrom_unlabeled(gitosis_t)
corenet_all_recvfrom_netlabel(gitosis_t)
corenet_tcp_sendrecv_generic_if(gitosis_t)
corenet_tcp_sendrecv_generic_node(gitosis_t)
corenet_tcp_bind_generic_node(gitosis_t)
corenet_sendrecv_ssh_server_packets(gitosis_t)
corenet_tcp_bind_ssh_port(gitosis_t)
corenet_tcp_sendrecv_ssh_port(gitosis_t)
corecmd_exec_bin(gitosis_t)
corecmd_exec_shell(gitosis_t)
dev_read_urand(gitosis_t)
files_read_etc_files(gitosis_t)
files_read_usr_files(gitosis_t)
files_search_var_lib(gitosis_t)
miscfiles_read_localization(gitosis_t)
sysnet_read_config(gitosis_t)
tunable_policy(`gitosis_can_sendmail',`
mta_send_mail(gitosis_t)
')
|