chroot("/") can't work.

Kazuhiro Fujieda fujieda@jaist.ac.jp
Wed Nov 29 13:28:00 GMT 2000


>>> On Wed, 29 Nov 2000 05:17:43 -0800 (PST)
>>> Earnie Boyd <earnie_boyd@yahoo.com> said:

> Is this patch so that you can do `chroot /'?  Why would you want to do that?
> Cheers,

The current implementation of chroot sets '/' as the root dir
against chroot("/"). It causes `//usr' by `/usr'. It must set an
empty string as the root dir in the same way as the previous
implementation.
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


More information about the Cygwin-patches mailing list