apparmor: add a valid state flags check
authorJohn Johansen <john.johansen@canonical.com>
Sat, 31 Aug 2019 22:55:06 +0000 (15:55 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 18 Jan 2020 23:37:24 +0000 (15:37 -0800)
commitc659696964a7530ddd9ae075919b44f263fba05c
treebf7f0306da8dcf3d69aa9e3c96e09b06c6a1e2da
parente4f4e6ba5eaadb839d17cfe5235cff149a44b36a
apparmor: add a valid state flags check

Add a check to ensure only known state flags are set on each
state in the dfa.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/include/match.h
security/apparmor/match.c