vmdriver.te 329 Bytes
Newer Older
Bach Dániel committed
1 2 3 4 5 6 7 8 9 10 11 12 13

module vmdriver 1.0;

require {
	type virt_var_lib_t;
	type svirt_tcg_t;
	class sock_file { create unlink };
	class dir { write remove_name add_name };
}

#============= svirt_tcg_t ==============
allow svirt_tcg_t virt_var_lib_t:dir { write remove_name add_name };
allow svirt_tcg_t virt_var_lib_t:sock_file { create unlink };