Comparing policies
Until now, we've analyzed a single policy set, finding the domain transitions and information flow paths. The commands and applications we've used all focus on this single-policy analysis. Another important analysis is to compare two policies. Policy developers can use this to compare a new policy with an old one, or to compare two system policies to see what additional rules have been added by the administrator.
Using sediff to compare policies
The sediff
tool looks at the differences between two policy files and reports those to the user. It is often not sensible to use this against completely different policies, but is powerful for finding slight differences between policies, which can assist in troubleshooting issues across different systems.
A common use case for sediff
is to validate that a source-built policy file is the same as the distribution-provided binary policy file. Administrators can then be certain that the source code they&apos...