|
Chris PeBenito |
17ec8c |
policy_module(ddcprobe, 1.2.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 |
0bfccd |
application_domain(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_bin(ddcprobe_t)
|
|
Chris PeBenito |
8021cb |
corecmd_exec_bin(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 |
c3c753 |
term_use_all_ttys(ddcprobe_t)
|
|
Chris PeBenito |
c3c753 |
term_use_all_ptys(ddcprobe_t)
|
|
Chris PeBenito |
871079 |
|
|
Chris PeBenito |
1815ba |
libs_read_lib_files(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 |
296273 |
userdom_use_user_terminals(ddcprobe_t)
|
|
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)
|