diff options
author | James Morris <jmorris@namei.org> | 2008-11-12 05:20:00 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-11-12 05:20:00 -0500 |
commit | 92a77aac9812d5397abbe6f1920e085e50838635 (patch) | |
tree | dc0af93722974faa8b234d00e8216e2eaf2f79c0 /include/linux | |
parent | 066746796bd2f0a1ba210c0dded3b6ee4032692a (diff) |
security: remove broken and useless declarations
Remove broken declarations for security_capable* functions,
which were not needed anyway.
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/capability.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/capability.h b/include/linux/capability.h index b313ba1dd5d1..7f26580a5a4d 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h | |||
@@ -521,8 +521,6 @@ extern const kernel_cap_t __cap_init_eff_set; | |||
521 | 521 | ||
522 | kernel_cap_t cap_set_effective(const kernel_cap_t pE_new); | 522 | kernel_cap_t cap_set_effective(const kernel_cap_t pE_new); |
523 | 523 | ||
524 | extern int security_capable(struct task_struct *t, int cap); | ||
525 | extern int security_capable_noaudit(struct task_struct *t, int cap); | ||
526 | /** | 524 | /** |
527 | * has_capability - Determine if a task has a superior capability available | 525 | * has_capability - Determine if a task has a superior capability available |
528 | * @t: The task in question | 526 | * @t: The task in question |