Blame mls/domains/program/unused/uml.te
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
# Author: Russell Coker <russell@coker.com.au>
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type uml_exec_t, file_type, sysadmfile, exec_type;
|
|
Chris PeBenito |
31b7c0 |
type uml_ro_t, file_type, sysadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
# the main code is in macros/program/uml_macros.te
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
daemon_domain(uml_switch)
|
|
Chris PeBenito |
31b7c0 |
allow uml_switch_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
31b7c0 |
allow uml_switch_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
31b7c0 |
allow uml_switch_t uml_switch_var_run_t:sock_file create_file_perms;
|
|
Chris PeBenito |
31b7c0 |
allow initrc_t uml_switch_var_run_t:sock_file setattr;
|
|
Chris PeBenito |
31b7c0 |
rw_dir_create_file(initrc_t, uml_switch_var_run_t)
|