Re: Combine *.te contents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/11/2014 10:36 AM, Frank Murphy wrote:
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

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux
Not sure what your question is. Some rules can be duplicated and some rules not (transitions rules for example). Anyway if you compile/load a module, it will blow up if something is wrong.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux