Chris PeBenito 9cca1c
Chris PeBenito 6c9118
policy_module(vbetool,1.2.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 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 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 a3cf80
term_use_unallocated_ttys(vbetool_t)
Chris PeBenito a3cf80
Chris PeBenito 9cca1c
libs_use_ld_so(vbetool_t)
Chris PeBenito 9cca1c
libs_use_shared_libs(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
')