>>> On Wed, 29 Nov 2000 22:41:02 +0100
>>> Corinna Vinschen <[EMAIL PROTECTED]> said:

> If it's possible to set root to an empty string by calling
> chroot("/") this could result in the ability to break out of the
> chroot environment. This is not ok. But, hmm, this shouldn't
> be possible... 

If cyg_root has been set other than an empty string, chroot("/")
can't set it to an empty string.  The argument is processed by
normalize_posix_path.
____
  | AIST      Kazuhiro Fujieda <[EMAIL PROTECTED]>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

Reply via email to