diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-05-13 23:01:26 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-05-16 19:27:20 -0400 |
commit | c80901f2755c582e3096e6708028a8daca59e6e2 (patch) | |
tree | eaf353e1736d7f7f99f04b4c086e4bbbff4af854 /security/capability.c | |
parent | 7762fbfffdbce8191f5236d5053b290035d3d749 (diff) |
LSM: Add __init to fixup function.
register_security() became __init function.
So do verify() and security_fixup_ops().
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/capability.c')
-rw-r--r-- | security/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c index 7f093d573ede..8168e3ecd5bf 100644 --- a/security/capability.c +++ b/security/capability.c | |||
@@ -854,7 +854,7 @@ static void cap_audit_rule_free(void *lsmrule) | |||
854 | } \ | 854 | } \ |
855 | } while (0) | 855 | } while (0) |
856 | 856 | ||
857 | void security_fixup_ops(struct security_operations *ops) | 857 | void __init security_fixup_ops(struct security_operations *ops) |
858 | { | 858 | { |
859 | set_to_cap_if_null(ops, ptrace_access_check); | 859 | set_to_cap_if_null(ops, ptrace_access_check); |
860 | set_to_cap_if_null(ops, ptrace_traceme); | 860 | set_to_cap_if_null(ops, ptrace_traceme); |