mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
7b98a5857c
commit
5dbe3040c7
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue