git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] sched: cleanup sched_group cpu_power setup
[pandora-kernel.git]
/
kernel
/
capability.c
diff --git
a/kernel/capability.c
b/kernel/capability.c
index
c7685ad
..
edb845a
100644
(file)
--- a/
kernel/capability.c
+++ b/
kernel/capability.c
@@
-133,7
+133,7
@@
static inline int cap_set_all(kernel_cap_t *effective,
int found = 0;
do_each_thread(g, target) {
- if (target == current ||
target->pid == 1
)
+ if (target == current ||
is_init(target)
)
continue;
found = 1;
if (security_capset_check(target, effective, inheritable,