Chapter 9. Analyzing Policy Behavior
Although SELinux policies enforce wanted behavior on a system, knowing how a policy will act up front is necessary for administrators. It assists in the execution of assessments as well as root-cause analysis activities. In this chapter, we will:
- Learn how to query the SELinux policy in depth
- Use a multitude of tools to query process transitions
- Be able to analyze information flows
We'll end the chapter with a few smaller analysis tools, including one that shows the differences between two policy files.
Single-step analysis
In the previous chapters, we covered a few methods of analyzing SELinux policies through command-line utilities such as seinfo
and sesearch
. These utilities are able to assist users in performing ...
Get SELinux System Administration - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.