2008-12-10 19:38:10 +00:00
|
|
|
policy_module(ddcprobe, 1.2.0)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type ddcprobe_t;
|
|
|
|
type ddcprobe_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
application_domain(ddcprobe_t, ddcprobe_exec_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
role system_r types ddcprobe_t;
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow ddcprobe_t self:capability { sys_rawio sys_admin };
|
|
|
|
allow ddcprobe_t self:process execmem;
|
|
|
|
|
|
|
|
kernel_read_system_state(ddcprobe_t)
|
2006-01-31 16:49:43 +00:00
|
|
|
kernel_read_kernel_sysctls(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
kernel_change_ring_buffer_level(ddcprobe_t)
|
|
|
|
|
2006-03-02 23:41:11 +00:00
|
|
|
files_search_kernel_modules(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
|
|
|
corecmd_list_bin(ddcprobe_t)
|
2007-03-23 23:24:59 +00:00
|
|
|
corecmd_exec_bin(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
|
|
|
dev_read_urand(ddcprobe_t)
|
|
|
|
dev_read_raw_memory(ddcprobe_t)
|
|
|
|
dev_wx_raw_memory(ddcprobe_t)
|
|
|
|
|
|
|
|
files_read_etc_files(ddcprobe_t)
|
|
|
|
files_read_etc_runtime_files(ddcprobe_t)
|
|
|
|
files_read_usr_files(ddcprobe_t)
|
|
|
|
|
2010-02-11 19:20:10 +00:00
|
|
|
term_use_all_ttys(ddcprobe_t)
|
|
|
|
term_use_all_ptys(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
2006-02-02 21:08:12 +00:00
|
|
|
libs_read_lib_files(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
|
|
|
miscfiles_read_localization(ddcprobe_t)
|
|
|
|
|
2006-02-02 21:08:12 +00:00
|
|
|
modutils_read_module_deps(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_use_user_terminals(ddcprobe_t)
|
2006-02-20 21:33:25 +00:00
|
|
|
userdom_use_all_users_fds(ddcprobe_t)
|
2006-01-04 16:29:11 +00:00
|
|
|
|
|
|
|
#reh why? this does not seem even necessary to function properly
|
2006-02-02 21:08:12 +00:00
|
|
|
kudzu_getattr_exec_files(ddcprobe_t)
|