Blame policy/modules/admin/brctl.te
|
Chris PeBenito |
29af4c |
policy_module(brctl, 1.5.0)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
########################################
|
|
Chris PeBenito |
8241b5 |
#
|
|
Chris PeBenito |
8241b5 |
# Declarations
|
|
Chris PeBenito |
8241b5 |
#
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
type brctl_t;
|
|
Chris PeBenito |
8241b5 |
type brctl_exec_t;
|
|
Chris PeBenito |
8241b5 |
domain_type(brctl_t)
|
|
Chris PeBenito |
8241b5 |
init_system_domain(brctl_t, brctl_exec_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
########################################
|
|
Chris PeBenito |
8241b5 |
#
|
|
Chris PeBenito |
8241b5 |
# brctl local policy
|
|
Chris PeBenito |
8241b5 |
#
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
allow brctl_t self:capability net_admin;
|
|
Chris PeBenito |
8241b5 |
allow brctl_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
8241b5 |
allow brctl_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
8241b5 |
allow brctl_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
8241b5 |
allow brctl_t self:tcp_socket create_socket_perms;
|
|
Chris PeBenito |
8241b5 |
|
|
Jeremy Solt |
d12f18 |
kernel_request_load_module(brctl_t)
|
|
Chris PeBenito |
8241b5 |
kernel_read_network_state(brctl_t)
|
|
Chris PeBenito |
8241b5 |
kernel_read_sysctl(brctl_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
63f0a7 |
corenet_rw_tun_tap_dev(brctl_t)
|
|
Chris PeBenito |
63f0a7 |
|
|
Chris PeBenito |
8241b5 |
dev_rw_sysfs(brctl_t)
|
|
Chris PeBenito |
2f2716 |
dev_write_sysfs_dirs(brctl_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
# Init script handling
|
|
Chris PeBenito |
8241b5 |
domain_use_interactive_fds(brctl_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
files_read_etc_files(brctl_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
6e3289 |
term_dontaudit_use_console(brctl_t)
|
|
Chris PeBenito |
6e3289 |
|
|
Chris PeBenito |
8241b5 |
miscfiles_read_localization(brctl_t)
|
|
Chris PeBenito |
8241b5 |
|
|
Chris PeBenito |
8241b5 |
optional_policy(`
|
|
Chris PeBenito |
8241b5 |
xen_append_log(brctl_t)
|
|
Chris PeBenito |
f50856 |
xen_dontaudit_rw_unix_stream_sockets(brctl_t)
|
|
Chris PeBenito |
8241b5 |
')
|