1ec3d1a
policy_module(ddcprobe, 1.2.0)
1ec3d1a
1ec3d1a
########################################
1ec3d1a
#
1ec3d1a
# Declarations
1ec3d1a
#
1ec3d1a
1ec3d1a
type ddcprobe_t;
1ec3d1a
type ddcprobe_exec_t;
1ec3d1a
application_domain(ddcprobe_t, ddcprobe_exec_t)
1ec3d1a
role system_r types ddcprobe_t;
1ec3d1a
1ec3d1a
########################################
1ec3d1a
#
1ec3d1a
# Local policy
1ec3d1a
#
1ec3d1a
1ec3d1a
allow ddcprobe_t self:capability { sys_rawio sys_admin };
1ec3d1a
allow ddcprobe_t self:process execmem;
1ec3d1a
1ec3d1a
kernel_read_system_state(ddcprobe_t)
1ec3d1a
kernel_read_kernel_sysctls(ddcprobe_t)
1ec3d1a
kernel_change_ring_buffer_level(ddcprobe_t)
1ec3d1a
1ec3d1a
files_search_kernel_modules(ddcprobe_t)
1ec3d1a
1ec3d1a
corecmd_list_bin(ddcprobe_t)
1ec3d1a
corecmd_exec_bin(ddcprobe_t)
1ec3d1a
1ec3d1a
dev_read_urand(ddcprobe_t)
1ec3d1a
dev_read_raw_memory(ddcprobe_t)
1ec3d1a
dev_wx_raw_memory(ddcprobe_t)
1ec3d1a
1ec3d1a
files_read_etc_files(ddcprobe_t)
1ec3d1a
files_read_etc_runtime_files(ddcprobe_t)
1ec3d1a
files_read_usr_files(ddcprobe_t)
1ec3d1a
1ec3d1a
term_use_all_ttys(ddcprobe_t)
1ec3d1a
term_use_all_ptys(ddcprobe_t)
1ec3d1a
1ec3d1a
libs_read_lib_files(ddcprobe_t)
1ec3d1a
1ec3d1a
1ec3d1a
userdom_use_inherited_user_terminals(ddcprobe_t)
1ec3d1a
userdom_use_all_users_fds(ddcprobe_t)
1ec3d1a
1ec3d1a
optional_policy(`
1ec3d1a
	#reh why? this does not seem even necessary to function properly
1ec3d1a
	kudzu_getattr_exec_files(ddcprobe_t)
1ec3d1a
')
1ec3d1a
1ec3d1a
optional_policy(`
1ec3d1a
	modutils_read_module_deps(ddcprobe_t)
1ec3d1a
')