lkml.org 
[lkml]   [1996]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SCSI device numbering (was: Re: Ideas for v2.1
Date
Chris Evans writes:

> I am currently running 2.0 + a patch of my own design which adds a
> (mode_t) variable to struct task. This variable represents the permission
> on a /proc/<pid> directory, and is changeable via chmod() by the owner of
> a given task. Works like a charm, a user does chmod og-rwx /proc/<pid>
> and the process magically disappers from all displays of ps/top/etc.
> executed by other users. Good for privacy. Option to use chmod on just
> the cmdline of a process is provided too.

I would really like this feature at least for root. I have always been
wondering why users should be able to trace and analyse root processes.

Of course, those /proc-access permissions need to be inherited by a forked
child.

--
Lars Marowsky-Bree Voice: +49-571-63663 PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/ Mail: lmb@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB 79 8A CF 75 4F 4C 81 DF


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