Skip to content

parser: Fix unknown state condition RLIMIT_MODEINCLDE

John Johansen requested to merge jjohansen/apparmor:fix-lexer into master

The parser is broken on RLIMIT parsing when receiving unexpected input because the shared state for this specifies RLIMIT_MODEINCLUDE which is an unknown start condition resulting in the following warning

parser_lex.l:745: undeclared start condition RLIMIT_MODEINCLUDE

and also means RLIMIT and INCLUDE are not properly handled

This should be backported to as many releases as it can be.

Signed-off-by: John Johansen john.johansen@canonical.com

Merge request reports