Package libsepol-devel

Header files and libraries used to build policy manipulation tools

https://github.com/SELinuxProject/selinux/wiki

The libsepol-devel package contains the libraries and header files
needed for developing applications that manipulate binary policies.

Library Functions (Section 3)
sepol_check_context
sepol_check_context checks the validity of a security context against a binary policy previously loaded from a file via sepol_set_policydb_from_file. It is used...
sepol_genbools
sepol_genbools rewrites a binary policy stored in the memory region described by (data, len) to use the boolean settings specified in the file named by...
sepol_genusers
sepol_genusers generates a new binary policy image from an existing binary policy image stored in the memory region described by the starting address data and...