mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-30 15:00:22 +00:00
799ef8b66e
Duplicate declarations are allowed for type, typeattribute, and optional statements. When an allowed duplicate declaration is found, the duplicate datum is free'd in cil_add_decl_to_symtab() and SEPOL_OK is returned. This works for all the rules where a duplicate declaration is allowed, but it confuses scanning tools. When cil_add_decl_to_symtab() finds an allowed duplicate declaration, return SEPOL_EEXIST and free the duplicate datum in the original calling function. Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Petr Lautrbach <plautrba@redhat.com> |
||
---|---|---|
.. | ||
cil | ||
fuzz | ||
include | ||
man | ||
src | ||
tests | ||
utils | ||
.gitignore | ||
COPYING | ||
Makefile | ||
VERSION |