mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-01-19 09:22:55 +00:00
228261a51a
Add semanage_module_extract() to extract a module as CIL or HLL. The function takes a module name and whether to extract as CIL or HLL. If a CIL file is requested, but does not exist, semanage_module_extract() will compile the HLL to CIL and cache the CIL in the store as well as extract the module. A module that was installed from a CIL file will export as CIL when the HLL version of the file is requested. Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>