Re: [patch V2 5/6] posix-cpu-timers: Return PTR_ERR() from lookup_task()

2019-09-23 Thread Frederic Weisbecker
On Mon, Sep 23, 2019 at 04:54:40PM +0200, Thomas Gleixner wrote: > To prepare for changing the return code to -EPERM when the ptrace > permission check fails, use PTR_ERR() to return the error information from > lookup_task() and fixup all call sites. > > Signed-off-by: Thomas Gleixner

[patch V2 5/6] posix-cpu-timers: Return PTR_ERR() from lookup_task()

2019-09-23 Thread Thomas Gleixner
To prepare for changing the return code to -EPERM when the ptrace permission check fails, use PTR_ERR() to return the error information from lookup_task() and fixup all call sites. Signed-off-by: Thomas Gleixner --- V2: New patch --- kernel/time/posix-cpu-timers.c | 22 --