Re: Implement real Windows chroot with CreatePrivateNamespaceA()!

Corinna Vinschen via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
On Jan 16 01:24, Dan Shelton via Cygwin wrote:
> On Wed, 13 Aug 2025 at 17:59, Dan Shelton <[email protected]> wrote:
> >
> > Hello!
> >
> > Could Cygwin chroot() be implemented with CreatePrivateNamespaceA()?
> 
> Old question, but still valid: can this be a basis for chroot()?

No.  CreatePrivateNamespace only allows to create private objects in the
internal NT namespace, it doesn't allow to create a private namespace on
disk.


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.