diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 13:48:53 +1000 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 16:56:33 -0700 |
commit | 5dbe3040c74eef18e66951347eda05b153e69328 (patch) | |
tree | 72c9e5f77deae00f1234e488254d4898cab32027 /include/linux/security.h | |
parent | 7b98a5857c3fa86cb0a7e5f893643491a8b5b425 (diff) | |
download | blackbird-op-linux-5dbe3040c74eef18e66951347eda05b153e69328.tar.gz blackbird-op-linux-5dbe3040c74eef18e66951347eda05b153e69328.zip |
security: sparse fix: Move security_fixup_op to security.h
Fix sparse warning by moving declaraion to global header.
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index a14c2d4b22cf..19d8e04e1688 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -1660,6 +1660,8 @@ struct security_operations { extern int security_init(void); extern int security_module_enable(struct security_operations *ops); extern int register_security(struct security_operations *ops); +extern void __init security_fixup_ops(struct security_operations *ops); + /* Security operations */ int security_ptrace_access_check(struct task_struct *child, unsigned int mode); |