[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: taskstats root only breaking iotop
(cc'ed kernel-hardening)

On Sun, Oct 02, 2011 at 12:22 +0200, Guillaume Chazarain wrote:
> On Sun, Oct 2, 2011 at 2:20 AM, Linus Torvalds
> <> wrote:
> > So I don't see why you ask for it. What could possibly be a valid use-case?
> Right, kbyte granularity is enough.

It is not enough. In some border cases an attacker may still learn
private information given the counters with _arbitrary_ granularity:

> And that's consistent with
> /proc/vmstat, which nobody is complaining about.

<jumping with a raised hand>Me, me, it was me!</jumping with a raised hand>

Seriously, most of procfs files were created with relaxed permissions in
old days when nobody thought about such infoleaks. Now it is much
harder to close all of them without breaking existing users.


Vasiliy Kulikov - bringing security into open computing environments

 \ /
  Last update: 2011-10-02 12:59    [W:0.052 / U:0.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site