lkml.org 
[lkml]   [2011]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: procfs: boot- and runtime configurable access mode for /proc/<pid> dirs
> Keeping u/g/o inside kernel is horrible.

Why exactly? Since it's only a char and not char[] I don't see the
disadvantage over int or a define or whatever. Of course I could always
change that if that's a de-facto standard I just didn't know about.


> What is the usecase? Content of /proc/* is identical.

Use-case is to isolate process information from other users' or groups'
eyes, e.g. with 550 the output of ps aux only lists processes of the
groups your user is a member of.


\
 
 \ /
  Last update: 2011-03-24 09:45    [W:0.089 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site