Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
policy_module(vbetool,1.0.0)
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
########################################
Chris PeBenito 9cca1c
#
Chris PeBenito 9cca1c
# Declarations
Chris PeBenito 9cca1c
#
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
type vbetool_t;
Chris PeBenito 9cca1c
type vbetool_exec_t;
Chris PeBenito 9cca1c
init_system_domain(vbetool_t,vbetool_exec_t)
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
########################################
Chris PeBenito 9cca1c
#
Chris PeBenito 9cca1c
# Local policy
Chris PeBenito 9cca1c
#
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
allow vbetool_t self:process execmem;
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
dev_wx_raw_memory(vbetool_t)
Chris PeBenito 9cca1c
dev_read_raw_memory(vbetool_t)
Chris PeBenito 207c47
dev_rwx_zero(vbetool_t)
Chris PeBenito 9cca1c
dev_read_sysfs(vbetool_t)
Chris PeBenito 9cca1c
Chris PeBenito 9cca1c
libs_use_ld_so(vbetool_t)
Chris PeBenito 9cca1c
libs_use_shared_libs(vbetool_t)