projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux...
[deliverable/linux.git]
/
kernel
/
capability.c
diff --git
a/kernel/capability.c
b/kernel/capability.c
index 2f05303715a5c4066a04b128251ebeec08d3779b..9e9385f132c81759ca2fbe6891d45d25775ff07d 100644
(file)
--- a/
kernel/capability.c
+++ b/
kernel/capability.c
@@
-306,7
+306,7
@@
int capable(int cap)
BUG();
}
- if (security_capable(cap) == 0) {
+ if (security_capable(c
urrent_cred(), c
ap) == 0) {
current->flags |= PF_SUPERPRIV;
return 1;
}
This page took
0.025425 seconds
and
5
git commands to generate.