27 lines
448 B
Plaintext
27 lines
448 B
Plaintext
|
|
||
|
policy_module(vbetool,1.0.0)
|
||
|
|
||
|
########################################
|
||
|
#
|
||
|
# Declarations
|
||
|
#
|
||
|
|
||
|
type vbetool_t;
|
||
|
type vbetool_exec_t;
|
||
|
init_system_domain(vbetool_t,vbetool_exec_t)
|
||
|
|
||
|
########################################
|
||
|
#
|
||
|
# Local policy
|
||
|
#
|
||
|
|
||
|
allow vbetool_t self:process execmem;
|
||
|
|
||
|
dev_wx_raw_memory(vbetool_t)
|
||
|
dev_read_raw_memory(vbetool_t)
|
||
|
dev_rwx_zero_dev(vbetool_t)
|
||
|
dev_read_sysfs(vbetool_t)
|
||
|
|
||
|
libs_use_ld_so(vbetool_t)
|
||
|
libs_use_shared_libs(vbetool_t)
|