lkml.org 
[lkml]   [1999]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectaccess to proc filesystem from chrooted process
There is a suggestion in the kernel sources that a chrooted process should only
be able to see processes that have the same root or that have a more restricted
root.

The comment is in the source for fs/proc/inode.c:

http://lxr.linux.no/source/fs/proc/inode.c?v=2.3.3#L161

169 * XXX TODO: use the dentry mechanism to make off-limits procs simply
170 * invisible rather than denied? Does each namespace root get its own
171 * dentry tree?

I wondered if anyone has done this, and wheter there are plans to include
this in the main source tree.

Regards
Peri Hankey

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

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