aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/capability.h
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2008-11-12 05:20:00 -0500
committerJames Morris <jmorris@namei.org>2008-11-12 05:20:00 -0500
commit92a77aac9812d5397abbe6f1920e085e50838635 (patch)
treedc0af93722974faa8b234d00e8216e2eaf2f79c0 /include/linux/capability.h
parent066746796bd2f0a1ba210c0dded3b6ee4032692a (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/capability.h')
-rw-r--r--include/linux/capability.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/capability.h b/include/linux/capability.h
index b313ba1dd5d..7f26580a5a4 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
522kernel_cap_t cap_set_effective(const kernel_cap_t pE_new); 522kernel_cap_t cap_set_effective(const kernel_cap_t pE_new);
523 523
524extern int security_capable(struct task_struct *t, int cap);
525extern 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