X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01A3539B682D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1619020191; bh=qmek73Gdew4HgKb+p9b5hvouwGYL+hyaVbcFJbpdw6U=; 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=BKALu7oXSK8yrXdh3Fv+4OTC5vuKagTV6n4v0RDSS5tr+D+Yj/i2LjFEIGtFMoSTS vQYpW1Tcw/RQJPtR2qw8f9mpl5kpTyvS6EicGCjMFPSBFCeloRIQjTTbRD8eX/IngN gDkKeA7p6CGaU00XH8gMSUn/18a5MuusRGg5YPNs= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AA09838930D8 Date: Wed, 21 Apr 2021 17:49:41 +0200 To: cygwin AT cygwin DOT com Subject: Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46 Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <20210421120457 DOT cd5b6e966288aa62eee1a013 AT nifty DOT ne DOT jp> <263534123 DOT 20210421175816 AT yandex DOT ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <263534123.20210421175816@yandex.ru> X-Provags-ID: V03:K1:7OItv7EduQTzv8Yd56tvtbddCVTT4oL4oi1HSFrTkuXINEEgtsI RtxpZxyb/udi52kCDFdJwgelQ+JJnXsCCOuf9/GKrZBwKLRdgQB/FQcyqN8R6uWwymAo5B+ HPHYT/bKWPWcUpsFRsb4WHc835xxHlpiEIag9jMDeWsA/GwuqM8/KM/byxrpPrWzhxJt5C9 qRgWBdmByQbApzc6HsiGQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:NWoFBlcY85I=:MeEZbnGJ9/o9AJPw+yu0VD /fkbiQhbSq7/xYmOGSyguapsPXL3gT9k5OUMs+Bj2TSpj2p5ePDIEFkY/xZYiQvX1BHCxmOey 2kdflBrr2MQHtSvFFDx/8FpZDuBayqaIsazJcLEkHyPXLtdFwaWCuYiA1944Ljt6+51Q3NUnm y+NCYtVTw5V3yK/fPfPuWny0VBWHeS45UcZiH1uA3icQMCsuQYXjLjsCuM5XnJhU5xroeJbfn UvQ0W8rmSe+3ddTY6GQemUvpmbj5RKG6orq/Gxws/D5JPDEg4pLsoVySCDm/8wQYqaIK6dY5H Ta7S/j8k5Y9FTvGjcCw+nuc3qFO49xdqbcosigfHFgMSVXXZF91ZSEWLXY/AYwaPFYgimXmQV dt0L/6RpdP4Kv3gZKn3HtSJwibcnm2mH2Z54eZi+6BlbglILNeKinDVSSCuavLF8sC7iHlqIl IqIb2FqmEAWOedHEvWVxYeahTGZ5n9esVv+j7guljfpE0ihaVw4EoqJyLC0Orh9U90lbNuBtb d96Fe/Dz31O33n6Fkda2HI= X-Spam-Status: No, score=-100.1 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Apr 21 17:58, Andrey Repin wrote: > Greetings, Corinna Vinschen via Cygwin! > > > On Apr 21 12:04, Takashi Yano via Cygwin wrote: > >> Hi Corinna, > >> > >> I noticed the problem that /cygdrive/c/Windows/System32 directory > >> can be no longer accessed from 32 bit cygwin (WOW64) after the > >> commit: > > > The problem here is the File System Redirector, > > https://docs.microsoft.com/en-us/windows/win32/winprog64/file-system-redirector > > > This thing is really a problem because it break every, otherwise > > sane assumption. Hmm, bummer. I need some time to think about > > a solution here. > > As far as I'm aware, it can be disabled on application request. > I know at least one 32-bit application (Far Manager) that works through > redirector, but it might not be as easy for a library. That doesn't help. We *want* the redirector to work, otherwise we would end up in the wrong dir in terms of the system32 dir and sysnative wouldn't work at all in Cygwin, without going to great lengths to emulate the FSR by ourselves. I pushed a patch and created new snapshots. After some mulling I decided it's not worth to introduce some complicated routine for just WOW64, so Cygwin simply skips the code from commit 456c3a46386f3 now, if the incoming path is pointing inside the Windows dir on WOW64. Eventually, we should really start thinking about dropping 32 bit support, I guess. Only 17 years left until time_t overflow... 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