mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-20 12:30:45 +00:00
04c42b9d70
Type transition file names are stored in a symbol table. Before the name is added, the symbol table is searched to see if the name had already been inserted. If it has, then the already existing datum is returned. If it has not, then the name is added if either the typetransition rule does not occur in a macro or the name is not one of the macro parameters. Checking for a previous insertion before checking if the name is a macro parameter can cause a macro parameter to be treated as the actual name if a previous type transition file name is the same as the parameter. Now check the name to see if it a macro paramter before checking for its existence in the symbol table. Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Ondrej Mosnacek <omosnace@redhat.com> |
||
---|---|---|
.. | ||
include/cil | ||
src | ||
test | ||
.gitignore |