apparmor: fix module parameter handling
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Dec 2011 03:11:32 +0000 (13:41 +1030)
committerJames Morris <jmorris@namei.org>
Fri, 16 Dec 2011 01:45:24 +0000 (12:45 +1100)
The 'aabool' wrappers actually pass off to the 'bool' parse functions,
so you should use the same check function.  Similarly for aauint and
uint.

(Note that 'bool' module parameters also allow 'int', which is why you
got away with this, but that's changing very soon.)

Cc: linux-security-module@vger.kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found