SELinux Source compilation and integration with centos7.4
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SELinux Source compilation and integration with centos7.4
Hi All,
I am looking for SELinux source code which could be used to port on CentOS 7.4 and can be use for writing our own SELinux module for our application. I have tried various reference policies but nothing helped me for example: gentoo, tresys reference policy etc.
Can anybody please help me. Any help would be really very helpful for me.
I rely heavily on the audit2allow tool. You're going to need to understand the basics -- don't expect that modifying some other sample is going to get you very far.
I have compiled and successfully installed the policy. Now I am able to up my system in permissive mode but in enforcing mode my system get blocked on device manager and not booting up.
Though I have started writing policy module in permissive mode with the same version of development package as source. but while inserting module it is giving error when my policy is selected as refpolicy in config file.
when I switched to targeted the policy module insertion is successful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.