[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: world read permissions on /proc/irq/prof_cpu_mask and ...smp_affinity
On Wed, Dec 04, 2002 at 10:37:01AM -0500, Ingo Molnar wrote:
> > Is there any reason to set the permissions to 0600?
> > It makes the admin to login as root just to look on the
> > current system state.
> > Is there something against 0644?
> i've got nothing against 0644, 0600 was just the default paranoid value.
> (reading it could in theory mean an IO-APIC read.)

Just found a patch from Olaf Dietsche (2.5.40: fix chmod/chown on procfs).
This patch allows to change uid, gid and mode of files and directories
located in procfs.

The patch was accepted 2.5.

This perfectly solves the problem, and in very clean way, i think.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:31    [W:0.068 / U:3.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site