This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Setting up chroot jail with cygwin

On Apr  4 23:29, Warren Young wrote:
> Bryan D. Thomas wrote:
> >"Kevin Hilton" wrote:
> >>Can anyone point me to a link telling me how to set up a chrooted jail
> >>with cygwin?
> >
> >I used this:
> >
> >$ /bin/chroot.exe --help
> Can that be relied upon?  chroot is a system call on Unix and Linux, 
> which is how it can ensure that the process doesn't step outside the 
> box.  Is there a comparable feature in the Windows kernel that provides 
> the same feature?  Lacking that, all a determined hacker would have to 
> do when attacking a buffer overrun bug is make their injected code first 
> attack the cygwin1.dll before doing whatever nefarious task they want to do.

There's no chroot concept in Windows.  Cygwin's chroot is just sort of
a fake to get applications using chroot running.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

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