delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/16/04:58:35

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60G9wZjW2531182
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60G9wZjW2531182
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=joCAS1iI
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56B424BA23F6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768557513;
bh=aBDmiijf57xLBX5KBrQa1SBV9swsKGD2SF7EwgS9Qgo=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=joCAS1iI1wulS8JtTNkcYGRm0DLyYE15ZJXx2n15oxCZzOYx9tkYxdszNrQEeeE6Z
io38m7huK4SOuc51kcEuxBHP+sAYorReb1obz69zRHXMGs3Jup5rb8x8EoyzVB4KQf
At90RB9KkO06q6ku3HSs4kl3+pBJyFsgT6btqvws=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C2624BA2E25
Date: Fri, 16 Jan 2026 10:57:46 +0100
To: cygwin AT cygwin DOT com
Subject: Re: Implement real Windows chroot with CreatePrivateNamespaceA()!
Message-ID: <aWoLmgOt8cEzpxSu@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAAvCNcB4uFoOWUK4X84xpVKJ+Eesbz5cKqifTh5t987VkV3=Mg AT mail DOT gmail DOT com>
<CAAvCNcCE19NJy4oKihi-r_3yxhx8CYMJ-o5XbWADqdEBnQuD8Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAAvCNcCE19NJy4oKihi-r_3yxhx8CYMJ-o5XbWADqdEBnQuD8Q@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jan 16 01:24, Dan Shelton via Cygwin wrote:
> On Wed, 13 Aug 2025 at 17:59, Dan Shelton <dan DOT f DOT shelton AT gmail DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019