This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: chroot("/") can't work.


>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]