lkml.org 
[lkml]   [2004]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [1/1][PATCH] nproc v2: netlink access to /proc information
On Wed, Sep 08, 2004 at 08:41:30PM +0200, Roger Luethi wrote:
> A few notes:
> - Access control can be implemented easily. Right now it would be bloat,
> though -- the vast majority of fields in /proc are world-readable
> (/proc/pid/environ being the notable exception).
> - Additional process selectors (e.g. select by UID) are not hard to
> add, either, should there ever be a need.
> - There are a few things I'm not sure about: For instance, what is a good
> return value for mm_struct related fields wrt kernel threads? I picked
> 0, but ~(0) might be preferable because it's distinct.
> Signed-off-by: Roger Luethi <rl@hellgate.ch>

Any chance you could convert these to use the new vm statistics
accounting?


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

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.098 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site