From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by sourceware.org (Postfix) with ESMTPS id EE9213857C48 for ; Wed, 2 Sep 2020 19:32:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EE9213857C48 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=3arts.us Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=michael.a.moats@gmail.com Received: by mail-qk1-f173.google.com with SMTP id g72so821511qke.8 for ; Wed, 02 Sep 2020 12:32:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:reply-to:from:subject:message-id:date :user-agent:mime-version:content-language; bh=UhKysG1/cJ6kTXjDMnrtuc5LP2Tl8nXNCB2w0+4Givo=; b=EHUSvPiPMy9vwWUof3hB28McJIroaZjuglR/DQXv3f52+KhN26dJnY0x3xecinOFyI D10sHms8slYYDGeRuOYqRZ6P9BBbRHI97MPbjq3qT2AL5bPxE3AN9NosFx0U4TivNjyB 4vRcFW5KKA+pX2u/hnZhTmmnjMxOctBSSJlQauDj4hezQOZ2e2Ihk3MYa305Tsfetsf9 gxfUHUaOMiG6cxYlXXrOTh1672nssxltpFEu3gpUjRFYVR1IK+uljp5reMThYypS8k34 tNIZAU6+mXFO7oAG8JSx4IDSTEYa+Svu27WWpAynM60N1KEU5UK9snkaYKq6VLx503Sz Ogig== X-Gm-Message-State: AOAM531D/oVC0K+QjfjsMxMllZUNv05m2vm74DBf1R7S91QxBoxhmNoq vPdT8pqNkLGHY58jrNTJ6IIUoxLkcbPpGw== X-Google-Smtp-Source: ABdhPJy2NHXumYkf4Ya3BFZuobzwYOq7SVWy3I/XgUstO9GrYpRm764oLeE0JMYqowDFwDYmstZWsA== X-Received: by 2002:a37:ef13:: with SMTP id j19mr8524732qkk.184.1599075167492; Wed, 02 Sep 2020 12:32:47 -0700 (PDT) Received: from ?IPv6:2600:1700:8100:5a20:7121:9d17:40cd:fdd7? ([2600:1700:8100:5a20:7121:9d17:40cd:fdd7]) by smtp.gmail.com with ESMTPSA id o25sm466797qkm.42.2020.09.02.12.32.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Sep 2020 12:32:47 -0700 (PDT) To: cygwin@cygwin.com Reply-To: m.moats@3arts.us From: Michael Moats Subject: Cygwin terminal fails to start after win update Message-ID: Date: Wed, 2 Sep 2020 14:32:45 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, BODY_8BITS, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.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: , X-List-Received-Date: Wed, 02 Sep 2020 19:32:49 -0000 Hello. Loaded cygwin a few weeks ago, but after windows 10 update, mintty term fails to start. Versions: cygwin 3.1.6-1 OS Name    Microsoft Windows 10 Home Version    10.0.19041 Build 19041 When problem first noticed: Error: Could not fork child process: Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help'. (and terminal allows no typing) When attempt is made to add dll, bash and some other individual exceptions to firewall ASLR settings, Mintty starts & shell commands such as echo and pwd will work, but commands from /bin (i.e. ls, ln, grep, vi, cat, which) return nothing. Maybe more exceptions needed, but which ones? To get cygwin working a usual, these gross windows defender firewall changes were made: Windows Security     App & browser control         Exploit protection Force randomization for images (Mandatory ASLR)     Force relocation of images not compiled with /DYNAMICBASE -> Off by default     [Mintty working] -> On by default    [Mintyy not working] Randomize memory allocations (Bottom-up ASLR)     Randomize locations for virtual memory allocations. -> Off by default     [Mintyy working] -> On by default    [Mintyy not working] High-entropy ASLR     Increase variability when using Randomize memory allocations (Bottom-up ASLR) -> Off by default     [Mintty working] -> On by default    [Mintty not working] When Cyg/Mintty is working with above gross changes:     $ cd /usr     $ ln -s /bin /usr/bin     $ ls -i | grep bin     1125899907459844 bin/     562949954038681 sbin/     $ cd ..     $ ls -i | grep bin     1125899907459844 bin/     562949954038681 sbin/     $ ps -ef | grep -i min        XXXXX     649       1 ?        13:18:14 /usr/bin/mintty Thanks in advance!! -- Michael Moats