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 871079
kernel_read_kernel_sysctl(ddcprobe_t)
Chris PeBenito 871079
kernel_change_ring_buffer_level(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
bootloader_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 871079
libs_read_lib(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 871079
modutils_read_mods_deps(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
userdom_use_all_user_fd(ddcprobe_t)
Chris PeBenito 871079
Chris PeBenito 871079
#reh why? this does not seem even necessary to function properly
Chris PeBenito 871079
kudzu_getattr_exec_file(ddcprobe_t)