mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-13 01:24:49 +00:00
0a08fd1e69
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>
6 lines
126 B
C
6 lines
126 B
C
#include <stdlib.h>
|
|
|
|
#include <sepol/policydb/policydb.h>
|
|
|
|
int sepol_kernel_policydb_to_conf(FILE *fp, struct policydb *pdb);
|