[lkml]   [1999]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: access to proc filesystem from chrooted process
Riley Williams writes ("Re: access to proc filesystem from chrooted process"):
> Hi Peri.
> > 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.
> Unless I'm misunderstanding this, it appears to be pointless since
> only processes chroot'd to / or /proc could see the entries in the
> proc file system anyway, as if they're chroot'd anywhere else, they
> can't even access /proc ???

If you are setting up a server with a chrooted environment for users,
it is useful to have /proc mounted inside the chroot so that programs
like top and ps can work, so yes, users can get at /proc.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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