commit | 70a480bfcd46214a1cc0fc2cc6c13b72f567480a | [log] [tgz] |
---|---|---|
author | James Carter <jwcart2@tycho.nsa.gov> | Tue Mar 21 15:58:38 2017 -0400 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Wed Apr 05 12:23:05 2017 -0400 |
tree | 9637b4d307778f1a9c8a8daaec6fb3d08c6277fa | |
parent | 03298a22f7dc6f45885307976d09c9a2f070f9fd [diff] |
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>