History log of /external/selinux/libsepol/src/kernel_to_common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
70a480bfcd46214a1cc0fc2cc6c13b72f567480a 21-Mar-2017 James Carter <jwcart2@tycho.nsa.gov> libsepol: Add ability to convert binary policy to CIL

It would sometimes be helpful for debugging or verification purposes
to be able to convert a binary policy to a human-readable form.

Create new function, sepol_kernel_policydb_to_cil(), that takes a
policydb created from a binary policy and writes CIL policy to the
provided FILE pointer.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/libsepol/src/kernel_to_common.h