## The Open Group Pegasus CIM/WBEM Server. ###################################### ## ## Creates types and rules for a basic ## openlmi init daemon domain. ## ## ## ## Prefix for the domain. ## ## # template(`pegasus_openlmi_domain_template',` gen_require(` attribute pegasus_openlmi_domain; type pegasus_t; ') ############################## # # Declarations # type pegasus_openlmi_$1_t, pegasus_openlmi_domain; type pegasus_openlmi_$1_exec_t; init_daemon_domain(pegasus_openlmi_$1_t, pegasus_openlmi_$1_exec_t) ############################## # # Local policy # domtrans_pattern(pegasus_t, pegasus_openlmi_$1_exec_t, pegasus_openlmi_$1_t) allow pegasus_t pegasus_openlmi_$1_exec_t:file ioctl; kernel_read_system_state(pegasus_openlmi_$1_t) logging_send_syslog_msg(pegasus_openlmi_$1_t) ') ######################################## ## ## Connect to pegasus over a unix stream socket. ## ## ## ## Domain allowed access. ## ## # interface(`pegasus_stream_connect',` gen_require(` type pegasus_t, pegasus_var_run_t, pegasus_tmp_t; ') files_search_pids($1) stream_connect_pattern($1, pegasus_var_run_t, pegasus_var_run_t, pegasus_t) stream_connect_pattern($1, pegasus_tmp_t, pegasus_tmp_t, pegasus_t) ')