Re: [PATCH] add umask parameter to procfs

2005-02-18 Thread Rene Scharfe
On Fri, Feb 18, 2005 at 04:56:01AM +0100, Herbert Poetzl wrote: > hmm, so what about debugger and similar not able to find the > parent process or something like that? You can walk the parentage chain up until you reach your login shell. So you can look up info about the parent of every one of you

Re: [PATCH] add umask parameter to procfs

2005-02-18 Thread Debian User
On Thu, Feb 17, 2005 at 03:41:19PM -0800, Andrew Morton wrote: > The feature seems fairly obscure, although very simple. Is anyone actually > likely to use this? Yes, it's an obscure obscurity feature. :) There certainly seems to be some interest in it: both GrSecurity and OpenWall contain somet

Re: [PATCH] add umask parameter to procfs

2005-02-17 Thread Herbert Poetzl
On Fri, Feb 18, 2005 at 04:22:49AM +0100, Bodo Eggert wrote: > Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 17, 2005 at 03:41:19PM -0800, Andrew Morton wrote: > >> Rene Scharfe <[EMAIL PROTECTED]> wrote: > > >> > Add proc.umask kernel parameter. It can be used to restrict permissions

Re: [PATCH] add umask parameter to procfs

2005-02-17 Thread Bodo Eggert
Herbert Poetzl <[EMAIL PROTECTED]> wrote: > On Thu, Feb 17, 2005 at 03:41:19PM -0800, Andrew Morton wrote: >> Rene Scharfe <[EMAIL PROTECTED]> wrote: >> > Add proc.umask kernel parameter. It can be used to restrict permissions >> > on the numerical directories in the root of a proc filesystem, i.

Re: [PATCH] add umask parameter to procfs

2005-02-17 Thread Herbert Poetzl
On Thu, Feb 17, 2005 at 03:41:19PM -0800, Andrew Morton wrote: > Rene Scharfe <[EMAIL PROTECTED]> wrote: > > > > Add proc.umask kernel parameter. It can be used to restrict permissions > > on the numerical directories in the root of a proc filesystem, i.e. the > > directories containing process sp

Re: [PATCH] add umask parameter to procfs

2005-02-17 Thread Andrew Morton
Rene Scharfe <[EMAIL PROTECTED]> wrote: > > Add proc.umask kernel parameter. It can be used to restrict permissions > on the numerical directories in the root of a proc filesystem, i.e. the > directories containing process specific information. > > E.g. add proc.umask=077 to your kernel command l

[PATCH] add umask parameter to procfs

2005-02-17 Thread Rene Scharfe
Add proc.umask kernel parameter. It can be used to restrict permissions on the numerical directories in the root of a proc filesystem, i.e. the directories containing process specific information. E.g. add proc.umask=077 to your kernel command line and all users except root can only see their own