commit | 8adbd615c19cfa0fd5e9b857e5ffcbfd263af82d | [log] [tgz] |
---|---|---|
author | James Carter <jwcart2@tycho.nsa.gov> | Tue Jan 31 13:47:36 2017 -0500 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Fri Feb 03 14:02:32 2017 -0500 |
tree | ebb9bb70b5b4004b377d8f0df0c558fc393267bb | |
parent | b6f3e0086fdf0ffb8a5e1ff34245596bc67007f3 [diff] |
libsepol: Return +1 when declaration is followed by a require A check is made in symtab_insert() for the case when an identifier had already been declared and was now being required. This meant that a declaration followed by a require was treated differently from a require followed by a declaration. Remove that check and treat both cases the same (which means returning +1). Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>