X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83ECF394D809 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1617888928; bh=7KIYMzvyHwNs0MLgshIwG6BetTjCzcoM2zV+Eo0tGts=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=aKurURy7PzpriMzy2TejceJP+9QJBGQPGNF8OHqlHvaEuBpBBk4ALrieQHR8leE2D l3h9xEAD1YjAaqqVBxZsZNDSNg6BdjVwDsora3UX6eph1KfKV/p8IttXaL2RSAzR8+ +E+bXxmNt7yawUUYapmF3zT9hG/twpAhZxnUTbWg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D00713945C3A DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 138DZ7c1010694 X-Nifty-SrcIP: [124.155.50.190] Date: Thu, 8 Apr 2021 22:35:06 +0900 To: cygwin AT cygwin DOT com Subject: Re: Cannot run executable named setlang Message-Id: <20210408223506.ac901dbb4513abff8d07099f@nifty.ne.jp> In-Reply-To: <20210408215518.e518f093c3411c5ea1333444@nifty.ne.jp> References: <20210408215518 DOT e518f093c3411c5ea1333444 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Thu, 8 Apr 2021 21:55:18 +0900 Takashi Yano wrote: > On Thu, 8 Apr 2021 15:25:45 +0300 > Orgad Shaneh wrote: > > Hi, > > > > I cannot run an executable if it is named setlang (case insensitive). > > It exits with code 127. > > > > Example: > > cp /bin/ls setlang > > ./setlang -> Error 127 > > > > I've noticed a difference in ldd output. cygwin dlls appear twice. > > > > ldd /bin/ls: > > ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd9be50000) > > KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > > (0x7ffd9bbb0000) > > KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll > > (0x7ffd9b8e0000) > > cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) > > cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3ff810000) > > cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3ff830000) > > > > ldd setlang: > > ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd9be50000) > > KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > > (0x7ffd9bbb0000) > > KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll > > (0x7ffd9b8e0000) > > cygwin1.dll => /usr/bin/cygwin1.dll (0xc10000) > > cygintl-8.dll => /usr/bin/cygintl-8.dll (0x170000) > > cygwin1.dll => /usr/bin/cygwin1.dll (0xc10000) > > cygintl-8.dll => /usr/bin/cygintl-8.dll (0x170000) > > cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x600000) > > cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x600000) > > > > Any idea what can cause this? > > Isn't this the same issue with: > https://cygwin.com/pipermail/cygwin/2021-January/247508.html > ? Probably you have "setlang.exe" entry in "Program settings" in Exploit Protection. -- Takashi Yano -- 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