|
Dan Walsh |
3eaa99 |
policy_module(qpidd,1.0.0)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# Declarations
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type qpidd_t;
|
|
Dan Walsh |
3eaa99 |
type qpidd_exec_t;
|
|
Dan Walsh |
3eaa99 |
init_daemon_domain(qpidd_t, qpidd_exec_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type qpidd_initrc_exec_t;
|
|
Dan Walsh |
3eaa99 |
init_script_file(qpidd_initrc_exec_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type qpidd_var_run_t;
|
|
Dan Walsh |
3eaa99 |
files_pid_file(qpidd_var_run_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type qpidd_var_lib_t;
|
|
Dan Walsh |
3eaa99 |
files_type(qpidd_var_lib_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# qpidd local policy
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:process { setsched signull };
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:fifo_file rw_fifo_file_perms;
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:sem create_sem_perms;
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:shm create_shm_perms;
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:tcp_socket create_stream_socket_perms;
|
|
Dan Walsh |
3eaa99 |
allow qpidd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
manage_dirs_pattern(qpidd_t, qpidd_var_lib_t, qpidd_var_lib_t)
|
|
Dan Walsh |
3eaa99 |
manage_files_pattern(qpidd_t, qpidd_var_lib_t, qpidd_var_lib_t)
|
|
Dan Walsh |
3eaa99 |
files_var_lib_filetrans(qpidd_t, qpidd_var_lib_t, { file dir } )
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
manage_dirs_pattern(qpidd_t, qpidd_var_run_t, qpidd_var_run_t)
|
|
Dan Walsh |
3eaa99 |
manage_files_pattern(qpidd_t, qpidd_var_run_t, qpidd_var_run_t)
|
|
Dan Walsh |
3eaa99 |
files_pid_filetrans(qpidd_t, qpidd_var_run_t, { file dir })
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
kernel_read_system_state(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
corenet_all_recvfrom_unlabeled(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_all_recvfrom_netlabel(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_bind_generic_node(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_generic_if(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_generic_node(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_all_ports(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_bind_amqp_port(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
dev_read_urand(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
files_read_etc_files(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
logging_send_syslog_msg(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
miscfiles_read_localization(qpidd_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
sysnet_dns_name_resolve(qpidd_t)
|