in reply to Re: Re: Re: Re: exiting a chroot environment
in thread exiting a chroot environment
Consider the issue with Linux. The reason '.' can be used to escape from a chroot() environment is because '.' is not special. '.' is a hard link to current directory. In operating systems that implement chroot() to be 'more secure', '.' must be special cased.
Specifically, '.' and '/..' must be special cased. In the simplest form, this may mean that '/.' and /..' need to be translated in place on reference to appear as if they both referred to '/'.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Re: exiting a chroot environment
by sauoq (Abbot) on Jul 09, 2003 at 01:55 UTC | |
by MarkM (Curate) on Jul 09, 2003 at 01:59 UTC | |
by sauoq (Abbot) on Jul 09, 2003 at 02:10 UTC | |
by MarkM (Curate) on Jul 09, 2003 at 02:27 UTC |
In Section
Seekers of Perl Wisdom