From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id 92AAB3858D3C for ; Mon, 22 Aug 2022 22:28:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 92AAB3858D3C Received: by mail-oi1-x229.google.com with SMTP id j5so13967857oih.6 for ; Mon, 22 Aug 2022 15:28:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc; bh=KwfGd7YJBsseuvFBczYLXVce7pyT6wn9lq+QwQJVj1Q=; b=LMPkJPr4emnFK/yhyWmf9NLgkDegXtEQvwUukQhlZZ09VkjPrzcLLLSRkWE2Zhlh9q 4BWubx4sdw53KIObph45ZGZpfBK2s5Euid966KNfTLKew3s2uVkqGmhiSG/Ic88QWjtI aFH20eh0dpmS9yfb9fXhRUD9zJGEJW/nxZR3OSwxmrSh7tT2l2wq1nB7lQ/GTy52GIW6 qL4XGqwpnAt+rImXsBdhTtIv/Nl54i54PM8yawVK2Lffu5GV32nN/xrtcPObbTGmUzDU iCWKipI/1QhTh42057pXvMxAlvGLNdwl/GXc4r/vV1CkKAfHvxI09HKNn0Ueq+qMbr83 KQVA== X-Gm-Message-State: ACgBeo33yd2XonCU1LmD6HDbBsO+5h3b16OZ2/6afKKkb9pbUnQDyp5T kkhJL6vrRStPA/BwpSkaR2lscg== X-Google-Smtp-Source: AA6agR4/b3s4xyfsuV8RNQTbQABm4HGyqToECjKvd9K5+dgtpqE9+1WMPbxCi3xbBj3BdDIbamyGFA== X-Received: by 2002:a05:6808:190f:b0:343:2fbd:9b62 with SMTP id bf15-20020a056808190f00b003432fbd9b62mr204682oib.176.1661207312853; Mon, 22 Aug 2022 15:28:32 -0700 (PDT) Received: from ?IPV6:2804:18:8c4:cd30:310e:31ba:cbc:d30d? ([2804:18:8c4:cd30:310e:31ba:cbc:d30d]) by smtp.gmail.com with ESMTPSA id r26-20020a056830135a00b006391bdbb361sm1555619otq.31.2022.08.22.15.28.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 15:28:32 -0700 (PDT) Message-ID: Date: Mon, 22 Aug 2022 19:28:28 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: posix_spawn: parent can get stuck in uninterruptible sleep if child receives SIGTSTP early enough Content-Language: en-US From: Adhemerval Zanella Netto To: Florian Weimer , Adhemerval Zanella Netto via Libc-help Cc: Rain References: <2921668c-773e-465d-9480-0abb6f979bf9@www.fastmail.com> <7727e4de-a8da-1e6b-4d7c-68a132750996@linaro.org> <64917a2f-788b-4695-b799-63bbb8a4873f@www.fastmail.com> <87tu64w33v.fsf@oldenburg.str.redhat.com> <7c356365-34db-cc00-bb92-0e55e7a89118@linaro.org> Organization: Linaro In-Reply-To: <7c356365-34db-cc00-bb92-0e55e7a89118@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2022 22:28:35 -0000 On 22/08/22 15:32, Adhemerval Zanella Netto wrote: > > We might ask for a new clone3 field to define the default signal mask on > process start (and thus omit the final sigprocmask before execve). And it does not make sense...