Chris PeBenito e08ac5
policy_module(vbetool, 1.5.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 6ae29c
allow vbetool_t self:capability { dac_override 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 6ae29c
dev_rw_sysfs(vbetool_t)
Chris PeBenito 6ae29c
dev_rw_xserver_misc(vbetool_t)
Chris PeBenito 6ae29c
dev_rw_mtrr(vbetool_t)
Chris PeBenito 9cca1c
Chris PeBenito da0423
domain_mmap_low(vbetool_t)
Chris PeBenito da0423
Chris PeBenito e08ac5
mls_file_read_all_levels(vbetool_t)
Chris PeBenito e08ac5
mls_file_write_all_levels(vbetool_t)
Chris PeBenito e08ac5
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
')