Messages in this thread | | | Subject | Re: [PATCH] Read THREAD_CPUTIME clock from other processes. | From | Peter Zijlstra <> | Date | Fri, 07 Jan 2011 20:56:15 +0100 |
| |
On Fri, 2011-01-07 at 11:50 -0800, Roland McGrath wrote: > I think the constraints on /proc/.../stat reflect the most considered > judgement of the security folks. I suspect that the lack of constraint on > /proc/.../schedstat reflects the scheduler folks just having failed to > consider the same issues. IMHO all access to the equivalent kinds of > information should have the same security constraints.
FWIW I'm fine with adding a PTRACE_MAY_READ constraint on schedstat.
| |