AppArmor: Update dfa matching routines.
authorJohn Johansen <john.johansen@canonical.com>
Thu, 16 Feb 2012 14:20:26 +0000 (06:20 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 14 Mar 2012 13:15:24 +0000 (06:15 -0700)
commit0fe1212d0539eb6c1e27d388711172d786e299cc
treeb6e653222f271f52b8d4606102ef1e6bd72b7bc2
parent3372b68a3c982611dcc30b3c872f8bbdee019e5e
AppArmor: Update dfa matching routines.

Update aa_dfa_match so that it doesn't result in an input string being
walked twice (once to get its length and another time to match)

Add a single step functions
  aa_dfa_next

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