]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9df213f14d87d731ad31cc1cd29c20454f4afe11
treeb6e653222f271f52b8d4606102ef1e6bd72b7bc2
parent501987e39d36b61314de7aa693651b3adc52da1b
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