Re: [patch 5/6] posix-cpu-timers: Sanitize thread clock permissions

2019-09-23 Thread Frederic Weisbecker
On Thu, Sep 05, 2019 at 02:03:44PM +0200, Thomas Gleixner wrote: > The thread clock permissions are restricted to tasks of the same thread > group, but that also prevents a ptracer from reading them. This is > inconsistent vs. the process restrictions and unnecessary strict. > > Relax it to ptrace

Re: [patch 5/6] posix-cpu-timers: Sanitize thread clock permissions

2019-09-05 Thread Thomas Gleixner
On Thu, 5 Sep 2019, Peter Zijlstra wrote: > On Thu, Sep 05, 2019 at 02:03:44PM +0200, Thomas Gleixner wrote: > > The thread clock permissions are restricted to tasks of the same thread > > group, but that also prevents a ptracer from reading them. This is > > inconsistent vs. the process restricti

Re: [patch 5/6] posix-cpu-timers: Sanitize thread clock permissions

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 02:03:44PM +0200, Thomas Gleixner wrote: > The thread clock permissions are restricted to tasks of the same thread > group, but that also prevents a ptracer from reading them. This is > inconsistent vs. the process restrictions and unnecessary strict. > > Relax it to ptrace