blob: 3d121fda74641c5137fe0cc9c6670be6542e567e (
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
66
67
68
69
70
71
72
73
74
|
policy_module(comsat, 1.7.0)
########################################
#
# Declarations
#
type comsat_t;
type comsat_exec_t;
inetd_udp_service_domain(comsat_t, comsat_exec_t)
role system_r types comsat_t;
type comsat_tmp_t;
files_tmp_file(comsat_tmp_t)
type comsat_var_run_t;
files_pid_file(comsat_var_run_t)
########################################
#
# Local policy
#
allow comsat_t self:capability { setuid setgid };
allow comsat_t self:process signal_perms;
allow comsat_t self:fifo_file rw_fifo_file_perms;
allow comsat_t self:netlink_tcpdiag_socket r_netlink_socket_perms;
allow comsat_t self:tcp_socket connected_stream_socket_perms;
allow comsat_t self:udp_socket create_socket_perms;
manage_dirs_pattern(comsat_t, comsat_tmp_t, comsat_tmp_t)
manage_files_pattern(comsat_t, comsat_tmp_t, comsat_tmp_t)
files_tmp_filetrans(comsat_t, comsat_tmp_t, { file dir })
manage_files_pattern(comsat_t, comsat_var_run_t, comsat_var_run_t)
files_pid_filetrans(comsat_t, comsat_var_run_t, file)
kernel_read_kernel_sysctls(comsat_t)
kernel_read_network_state(comsat_t)
kernel_read_system_state(comsat_t)
corenet_all_recvfrom_unlabeled(comsat_t)
corenet_all_recvfrom_netlabel(comsat_t)
corenet_tcp_sendrecv_generic_if(comsat_t)
corenet_udp_sendrecv_generic_if(comsat_t)
corenet_tcp_sendrecv_generic_node(comsat_t)
corenet_udp_sendrecv_generic_node(comsat_t)
corenet_udp_sendrecv_all_ports(comsat_t)
dev_read_urand(comsat_t)
fs_getattr_xattr_fs(comsat_t)
files_read_etc_files(comsat_t)
files_list_usr(comsat_t)
files_search_spool(comsat_t)
files_search_home(comsat_t)
auth_use_nsswitch(comsat_t)
init_read_utmp(comsat_t)
init_dontaudit_write_utmp(comsat_t)
logging_send_syslog_msg(comsat_t)
miscfiles_read_localization(comsat_t)
userdom_dontaudit_getattr_user_ttys(comsat_t)
mta_getattr_spool(comsat_t)
optional_policy(`
kerberos_use(comsat_t)
')
|