commit | 0a08fd1e69797d6ab315ee17d797ef12dae25ce9 | [log] [tgz] |
---|---|---|
author | James Carter <[email protected]> | Tue Mar 21 15:59:35 2017 -0400 |
committer | James Carter <[email protected]> | Wed Apr 05 12:23:25 2017 -0400 |
tree | 5441c52c6787df606e0bee2e6f9c5bd0f862af1e | |
parent | 70a480bfcd46214a1cc0fc2cc6c13b72f567480a [diff] |
libsepol: Add ability to convert binary policy to policy.conf file 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_conf(), that takes a policydb created from a binary policy and writes a policy.conf file to the provided FILE pointer. Signed-off-by: James Carter <[email protected]>