Chris PeBenito 9cca1c
Chris PeBenito da0423
policy_module(vbetool, 1.3.1)
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 0bfccd
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 a3cf80
allow vbetool_t self:capability { sys_tty_config sys_admin };
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 da0423
domain_mmap_low(vbetool_t)
Chris PeBenito da0423
Chris PeBenito a3cf80
term_use_unallocated_ttys(vbetool_t)
Chris PeBenito a3cf80
Chris PeBenito a3cf80
miscfiles_read_localization(vbetool_t)
Chris PeBenito a3cf80
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito a3cf80
	hal_rw_pid_files(vbetool_t)
Chris PeBenito 016e5c
	hal_write_log(vbetool_t)
Chris PeBenito 6c9118
	hal_dontaudit_append_lib_files(vbetool_t)
Chris PeBenito a3cf80
')