lkml.org 
[lkml]   [2007]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Chroot bug
Al Viro napsal(a):
> On Wed, Sep 26, 2007 at 03:11:33PM +0200, Miloslav Semler wrote:
>
>>> As for the nested-chroot() bit, the root user inside of a chroot is
>>> always allowed to chroot(). This is necessary for test-suites for
>>> various distro installers, chroot once to enter the installer playpen,
>>> installer chroots again to configure the test-installed-system. Once
>>> you allow a second chroot, you're back at the "can't reliably and
>>> efficiently track directory sub-tree members" problem.
>>>
>>> So if you think it can and should be fixed, then PROVIDE THE CODE.
>>>
>> Miloslav Semler
>>
>
> man openat
>
> This is really pointless, anyway - any code that expects chroot to be
> root-proof is terminally broken.
>
So thanks for information. I did't know anything about *at functions. So
it seems to be more complicated. But maybe it will be good write to
manpage "other systems implement it by other way, so this feature is
unportable".
-
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: 2007-09-26 16:53    [W:0.113 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site