Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsepol: Fix type alias handling in kernel_to_cil
Type alias rules are not written out when converting a binary kernel policy to CIL. The problem is that type aliases are not in the type_val_to_struct array and that is what is being used to find the aliases. Since type aliases are only in the types hashtable, walk that to find the type aliases. Fixes: 70a480b ("libsepol: Add ability to convert binary policy to CIL") Signed-off-by: James Carter <jwcart2@gmail.com>
- Loading branch information
1 parent
a9ff2cc
commit b902944
Showing
1 changed file
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters