History log of /external/selinux/libsepol/src/kernel_to_conf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a08fd1e69797d6ab315ee17d797ef12dae25ce9 21-Mar-2017 James Carter <jwcart2@tycho.nsa.gov> 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 <jwcart2@tycho.nsa.gov>
/external/selinux/libsepol/src/kernel_to_conf.c