Combine *.te contents

Frank Murphy frankly3d at gmail.com
Sat Jan 11 09:36:26 UTC 2014


I there a pointer to combine the contents of *.te files
Have looked at sample.te, but my perception fails  a lot these days.

# cat F20mailx01.te

module F20mailx01 1.0;

require {
	type admin_home_t;
	type logwatch_mail_t;
	class dir write;
}

#============= logwatch_mail_t ==============
allow logwatch_mail_t admin_home_t:dir write;

 
# cat F20mailx04.te

module F20mailx04 1.0;

require {
	type logwatch_mail_t;
	type mail_home_t;
	class file create;
}

#============= logwatch_mail_t ==============
allow logwatch_mail_t mail_home_t:file create;


___
Regards,
Frank 
www.frankly3d.com



More information about the selinux mailing list