Chris PeBenito 871079
Chris PeBenito 871079
policy_module(ddcprobe,1.0.0)
Chris PeBenito 871079
Chris PeBenito 871079
########################################
Chris PeBenito 871079
#
Chris PeBenito 871079
# Declarations
Chris PeBenito 871079
#
Chris PeBenito 871079
Chris PeBenito 871079
type ddcprobe_t;
Chris PeBenito 871079
type ddcprobe_exec_t;
Chris PeBenito 871079
domain_type(ddcprobe_t)
Chris PeBenito 871079
domain_entry_file(ddcprobe_t,ddcprobe_exec_t)
Chris PeBenito 871079
role system_r types ddcprobe_t;
Chris PeBenito 871079
Chris PeBenito 871079
########################################
Chris PeBenito 871079
#
Chris PeBenito 871079
# Local policy
Chris PeBenito 871079
#
Chris PeBenito 871079
Chris PeBenito 871079
allow ddcprobe_t self:capability { sys_rawio sys_admin };
Chris PeBenito 871079
allow ddcprobe_t self:process execmem;
Chris PeBenito 871079
Chris PeBenito 871079
kernel_read_system_state(ddcprobe_t)
Chris PeBenito 445522
kernel_read_kernel_sysctls(ddcprobe_t)
Chris PeBenito 871079
kernel_change_ring_buffer_level(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 1c1ac6
files_search_kernel_modules(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
corecmd_list_sbin(ddcprobe_t)
Chris PeBenito 871079
corecmd_list_bin(ddcprobe_t)
Chris PeBenito 871079
corecmd_exec_sbin(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
dev_read_urand(ddcprobe_t)
Chris PeBenito 871079
dev_read_raw_memory(ddcprobe_t)
Chris PeBenito 871079
dev_wx_raw_memory(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
files_read_etc_files(ddcprobe_t)
Chris PeBenito 871079
files_read_etc_runtime_files(ddcprobe_t)
Chris PeBenito 871079
files_read_usr_files(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
term_use_all_user_ttys(ddcprobe_t)
Chris PeBenito 871079
term_use_all_user_ptys(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 1815ba
libs_read_lib_files(ddcprobe_t)
Chris PeBenito 871079
libs_use_ld_so(ddcprobe_t)
Chris PeBenito 871079
libs_use_shared_libs(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
miscfiles_read_localization(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 1815ba
modutils_read_module_deps(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 15722e
userdom_use_all_users_fds(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
#reh why? this does not seem even necessary to function properly
Chris PeBenito 1815ba
kudzu_getattr_exec_files(ddcprobe_t)