提交 92a77aac 编写于 作者: J James Morris

security: remove broken and useless declarations

Remove broken declarations for security_capable* functions,
which were not needed anyway.
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 06674679
...@@ -521,8 +521,6 @@ extern const kernel_cap_t __cap_init_eff_set; ...@@ -521,8 +521,6 @@ extern const kernel_cap_t __cap_init_eff_set;
kernel_cap_t cap_set_effective(const kernel_cap_t pE_new); kernel_cap_t cap_set_effective(const kernel_cap_t pE_new);
extern int security_capable(struct task_struct *t, int cap);
extern int security_capable_noaudit(struct task_struct *t, int cap);
/** /**
* has_capability - Determine if a task has a superior capability available * has_capability - Determine if a task has a superior capability available
* @t: The task in question * @t: The task in question
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册