2005-12-13 20:38:19 +00:00
|
|
|
|
2006-03-23 19:19:38 +00:00
|
|
|
policy_module(vbetool,1.0.1)
|
2005-12-13 20:38:19 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type vbetool_t;
|
|
|
|
type vbetool_exec_t;
|
|
|
|
init_system_domain(vbetool_t,vbetool_exec_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2006-03-23 19:19:38 +00:00
|
|
|
allow vbetool_t self:capability { sys_tty_config sys_admin };
|
2005-12-13 20:38:19 +00:00
|
|
|
allow vbetool_t self:process execmem;
|
|
|
|
|
|
|
|
dev_wx_raw_memory(vbetool_t)
|
|
|
|
dev_read_raw_memory(vbetool_t)
|
2006-01-31 16:08:56 +00:00
|
|
|
dev_rwx_zero(vbetool_t)
|
2005-12-13 20:38:19 +00:00
|
|
|
dev_read_sysfs(vbetool_t)
|
|
|
|
|
2006-03-23 19:19:38 +00:00
|
|
|
term_use_unallocated_ttys(vbetool_t)
|
|
|
|
|
2005-12-13 20:38:19 +00:00
|
|
|
libs_use_ld_so(vbetool_t)
|
|
|
|
libs_use_shared_libs(vbetool_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
|
|
|
|
miscfiles_read_localization(vbetool_t)
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2006-03-23 19:19:38 +00:00
|
|
|
hal_rw_pid_files(vbetool_t)
|
|
|
|
')
|