module squirro-redis 1.0;

require {
	type redis_log_t;
	type redis_t;
	type init_t;
	type kernel_t;
	class dir add_name;
	class file append;
	class process2 nnp_transition;
	class system module_request;
}

#============= init_t ==============
allow init_t redis_log_t:dir add_name;
allow init_t redis_log_t:file append;
allow init_t redis_t:process2 nnp_transition;

#============= redis_t ==============
allow redis_t kernel_t:system module_request;
