diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-15 13:41:32 +1030 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-12-16 12:45:24 +1100 |
commit | b8aa09fd880eb4c2881b9f3c8a8d09c0404cd4eb (patch) | |
tree | 7a748b15df00f1338a0fba89455f202a58f53dbf /security/inode.c | |
parent | 735e93c70434614bffac4a914ca1da72e37d43c0 (diff) | |
download | linux-b8aa09fd880eb4c2881b9f3c8a8d09c0404cd4eb.tar.bz2 |
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 <rusty@rustcorp.com.au>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions