[lkml]   [2011]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] proc: restrict access to /proc/interrupts
On 11/07/2011 11:01 AM, Vasiliy Kulikov wrote:
> What's wrong with old good DAC? You can create a group "sysinfo", do
> "chown sysinfo /proc/interrupts", and add the permitted users to the
> group. If you need to give different access levels to different interrupts,
> you need another /proc/interrupts design, it does nothing with DAC vs. LSM.

I would like to propose that we add a mount option to procfs, and
possibly sysfs, called, say, admingrp. These kinds of files then get
restricted to the admingrp (defaulting to gid 0 if no admingrp is
provided). Historically on Unix there has been a group of people
(usually "adm", but sometimes "log") who are allowed to read (but not
write) the log files, which also contains potentially sensitive information.

The current Linux trend seems to be do instead force those users to
become root constantly, which is *not* helping the situation.


 \ /
  Last update: 2011-11-07 20:21    [W:0.056 / U:1.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site