blob: 601b2363f7ebe7abe4f7bbe43d7eb14551a5547a (
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
|
policy_module(fcoe, 1.4.0)
########################################
#
# Declarations
#
type fcoemon_t;
type fcoemon_exec_t;
init_daemon_domain(fcoemon_t, fcoemon_exec_t)
type fcoemon_initrc_exec_t;
init_script_file(fcoemon_initrc_exec_t)
type fcoemon_runtime_t alias fcoemon_var_run_t;
files_pid_file(fcoemon_runtime_t)
########################################
#
# Local policy
#
allow fcoemon_t self:capability { dac_override kill net_admin };
allow fcoemon_t self:fifo_file rw_fifo_file_perms;
allow fcoemon_t self:unix_stream_socket { accept listen };
allow fcoemon_t self:netlink_socket create_socket_perms;
allow fcoemon_t self:netlink_route_socket create_netlink_socket_perms;
manage_dirs_pattern(fcoemon_t, fcoemon_runtime_t, fcoemon_runtime_t)
manage_files_pattern(fcoemon_t, fcoemon_runtime_t, fcoemon_runtime_t)
manage_sock_files_pattern(fcoemon_t, fcoemon_runtime_t, fcoemon_runtime_t)
files_pid_filetrans(fcoemon_t, fcoemon_runtime_t, { dir file })
files_read_etc_files(fcoemon_t)
dev_read_sysfs(fcoemon_t)
logging_send_syslog_msg(fcoemon_t)
miscfiles_read_localization(fcoemon_t)
optional_policy(`
lldpad_dgram_send(fcoemon_t)
')
|