projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0667467
)
security: remove broken and useless declarations
author
James Morris
<jmorris@namei.org>
Wed, 12 Nov 2008 10:20:00 +0000
(21:20 +1100)
committer
James Morris
<jmorris@namei.org>
Wed, 12 Nov 2008 10:20:00 +0000
(21:20 +1100)
Remove broken declarations for security_capable* functions,
which were not needed anyway.
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/capability.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/capability.h
b/include/linux/capability.h
index b313ba1dd5d1042b5d9f5783ac1b7c22f05e242c..7f26580a5a4d23d6c4e05081d1bb327236e30fab 100644
(file)
--- 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