Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306022
b: refs/heads/master
c: 8ca937a
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Eric W. Biederman committed May 17, 2012
1 parent 7bd810e commit cf680a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b38a86eb196d9402299919456fe3f28e490c76fa
refs/heads/master: 8ca937a668d4be0b0c89c4fc9a912a5885ac06fe
4 changes: 2 additions & 2 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ static int wait_task_stopped(struct wait_opts *wo,
if (!unlikely(wo->wo_flags & WNOWAIT))
*p_code = 0;

uid = from_kuid_munged(current_user_ns(), __task_cred(p)->uid);
uid = from_kuid_munged(current_user_ns(), task_uid(p));
unlock_sig:
spin_unlock_irq(&p->sighand->siglock);
if (!exit_code)
Expand Down Expand Up @@ -1500,7 +1500,7 @@ static int wait_task_continued(struct wait_opts *wo, struct task_struct *p)
}
if (!unlikely(wo->wo_flags & WNOWAIT))
p->signal->flags &= ~SIGNAL_STOP_CONTINUED;
uid = from_kuid_munged(current_user_ns(), __task_cred(p)->uid);
uid = from_kuid_munged(current_user_ns(), task_uid(p));
spin_unlock_irq(&p->sighand->siglock);

pid = task_pid_vnr(p);
Expand Down

0 comments on commit cf680a3

Please sign in to comment.