From: Rusty Russell Date: Thu, 15 Dec 2011 03:11:32 +0000 (+1030) Subject: apparmor: fix module parameter handling X-Git-Tag: v3.3-rc1~105^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8aa09fd880eb4c2881b9f3c8a8d09c0404cd4eb;p=pandora-kernel.git apparmor: fix module parameter handling 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 Acked-by: John Johansen Signed-off-by: James Morris --- Reading git-diff-tree failed