summaryrefslogtreecommitdiffstats
path: root/include/linux/capability.h
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2008-11-12 21:20:00 +1100
committerJames Morris <jmorris@namei.org>2008-11-12 21:20:00 +1100
commit92a77aac9812d5397abbe6f1920e085e50838635 (patch)
treedc0af93722974faa8b234d00e8216e2eaf2f79c0 /include/linux/capability.h
parent066746796bd2f0a1ba210c0dded3b6ee4032692a (diff)
downloadop-kernel-dev-92a77aac9812d5397abbe6f1920e085e50838635.zip
op-kernel-dev-92a77aac9812d5397abbe6f1920e085e50838635.tar.gz
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 b313ba1..7f26580 100644
--- a/include/linux/capability.h
+++ b/include/linux/capability.h
@@ -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);
-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
* @t: The task in question
OpenPOWER on IntegriCloud