diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-04-13 17:32:16 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2017-04-17 06:42:50 +0200 |
commit | 01a2197485a9917216ad67ced4bafed9f7942f5a (patch) | |
tree | 25956afbd5dbb1f49936d6c38ddd113b6754b33d /ipc | |
parent | sysctl: Remove dead register_sysctl_root (diff) | |
download | linux-01a2197485a9917216ad67ced4bafed9f7942f5a.tar.xz linux-01a2197485a9917216ad67ced4bafed9f7942f5a.zip |
posix-timers: Correct sanity check in posix_cpu_nsleep
CPUCLOCK_PID(which_clock) is a pid value from userspace so compare it
against task_pid_vnr, not current->pid. As task_pid_vnr is in the tasks
pid value in the tasks pid namespace, and current->pid is in the
initial pid namespace.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions