Re: [PATCH] Read THREAD_CPUTIME clock from other processes.

From: Peter Zijlstra
Date: Fri Jan 07 2011 - 14:56:05 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/