I'm slightly bitter that I've become a bit of an SELinux expert over the years. I shouldn't have to be one, hell the tech shouldn't even need to exist in 2015.
Granted, creating a really secure policy takes effort, but even just having it enabled with simple policies can help mitigate the impact of a bunch of vulnerabilities, even if it won't make you invulnerable.
1. enable permissive mode
2. test application
3. check audit logs for any complaints
4. if no complaints, you're done. enable enforcing mode and test again.
5. otherwise, evaluate the complaints and fix the issues, either by tuning fcontexts (often, a simple path equivalency is enough if you're installing things on nondefault paths, as is common.) or by creating a custom policy module (audit2allow helps), then go to 2.
It's work you should do anyway. Securing an environment is part of setting it up.
o Run Application
o Get weird error.
o Google the error, see someone mentioning "This is because of SElinux"
o Google how to "Disable SELinux"
I'm not saying that's what they should be doing, just saying it's what I've observed. What's nice about tame is - there is nothing to enable/disable, it's just part of software.
> What's nice about tame is - there is nothing to enable/disable, it's just part of software.
And what's nice about SELinux (if you learn it) is it applies to the system and everything running on it whether or not it's been written for it. You can even put it in a logging only, and use those logs to generate the needed policies. SELinux will tell you what is going on.
What you point out as nice about tame() means that nothing will use it except what is in the core of OpenBSD.