diff options
Diffstat (limited to 'kernel/capability.c')
-rw-r--r-- | kernel/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/capability.c b/kernel/capability.c index 0d0d886d1e84..efbd9cdce132 100644 --- a/kernel/capability.c +++ b/kernel/capability.c | |||
@@ -96,7 +96,7 @@ static inline int cap_set_pg(int pgrp_nr, kernel_cap_t *effective, | |||
96 | int found = 0; | 96 | int found = 0; |
97 | struct pid *pgrp; | 97 | struct pid *pgrp; |
98 | 98 | ||
99 | pgrp = find_pid_ns(pgrp_nr, current->nsproxy->pid_ns); | 99 | pgrp = find_vpid(pgrp_nr); |
100 | do_each_pid_task(pgrp, PIDTYPE_PGID, g) { | 100 | do_each_pid_task(pgrp, PIDTYPE_PGID, g) { |
101 | target = g; | 101 | target = g; |
102 | while_each_thread(g, target) { | 102 | while_each_thread(g, target) { |