From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23915 invoked from network); 1 Oct 2020 14:50:03 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 1 Oct 2020 14:50:03 -0000 Received: (qmail 3436 invoked by uid 550); 1 Oct 2020 14:50:01 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 3418 invoked from network); 1 Oct 2020 14:50:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601563789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TskYAFoayHSxwQ32vKcPqnSvwkNvRX0jfjPJh+sUCQE=; b=KOAY2mYapkMzs8GaUTTQej8thMS1H0xS/fHqeNZD+k8VJKeHiLWdlkGHKyw/2SRStiMUUU Eo4tx/Yf5wUGBZAFL3jIUR0I18KAwJHkwWX+LljzqBB9Lhv2fs1wBwcFRlsemMPHqSr+Pm OwBTJ8Q4xlehbg8WOrjkZN4pAtND0I4= X-MC-Unique: 7U-qMg7qM6C2JTpsGmg62A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TskYAFoayHSxwQ32vKcPqnSvwkNvRX0jfjPJh+sUCQE=; b=NAT7Tu7wLx9rO6YcRXeBy2a0cyj6Xrz2hb73nmqlRJsOdOr7wMPk8IaxSj0PXy771K R3TwIYgKJWcPpCQ3UIYPo9TzWQhlfMQJdwLBAhpWl/6KNV8+Ac/gJTP3lbppiYm9N9UM 7QW8E/hEQtzOpfq8UwnawKY8gtFYZkvTxETCezJKl63DjayTF/RY5gyY7IM5VqAn3my9 ScR/Ef02YD6IlxgAwuOtKZG5UUNCQZDMmrrAsstWR6Fyhfgcx0u4iZ15Aw6275D+nY+Q 0r5eiBxWSAcwyGz/VSbY4teKKgln2Va/GPEDtvFfprA7/Y6qvyxcFl0/m29eV9Xorqcm 4xkw== X-Gm-Message-State: AOAM530t0dik+a0jzY0v3IxsvAYsdzZjDcyczcsZK8MwtLLiWDP+sxbT 6Cwt90AE8iPYiDzatFcux+nVe1LaDpo3DyzM+uPwNMz9C1gjE1tW41wgixYBSzyeDDj4v2bWl5a S53ZBylrMpKB7JT8WnQ== X-Received: by 2002:a05:620a:c90:: with SMTP id q16mr8075988qki.194.1601563785038; Thu, 01 Oct 2020 07:49:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCBrsrtEvufxZEz7zMiwLaxtJax6bCwWA0KKevIqCxXqgFqi6V4f6SFK3K7Sxgky0eO1wD7g== X-Received: by 2002:a05:620a:c90:: with SMTP id q16mr8075962qki.194.1601563784718; Thu, 01 Oct 2020 07:49:44 -0700 (PDT) To: Florian Weimer , Rich Felker Cc: musl@lists.openwall.com, Carlos O'Donell via Libc-alpha References: <20200927141952.121047-1-carlos@redhat.com> <871rinm1fx.fsf@mid.deneb.enyo.de> <20200928234833.GC17637@brightrain.aerifal.cx> <87d025jcn0.fsf@mid.deneb.enyo.de> <20200929144207.GD17637@brightrain.aerifal.cx> <20201001023018.GL17637@brightrain.aerifal.cx> <87o8lmeaw7.fsf@mid.deneb.enyo.de> From: Carlos O'Donell Organization: Red Hat Message-ID: Date: Thu, 1 Oct 2020 10:49:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <87o8lmeaw7.fsf@mid.deneb.enyo.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=carlos@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: [musl] Re: [PATCH] Make abort() AS-safe (Bug 26275). On 10/1/20 2:08 AM, Florian Weimer wrote: > * Rich Felker: > >> Even without fork, execve and posix_spawn can also see the SIGABRT >> disposition change made by abort(), passing it on to a process that >> should have started with a disposition of SIG_IGN if you hit exactly >> the wrong spot in the race. > > My feeling is that it's not worth bothering with this kind of leakage. > We've had this bug forever in glibc, and no one has complained about > it. > > Carlos is investigating removal of the abort lock from glibc, I think. I am investigating the removal, but I think the replacement solution might be needing to have a helper thread carry out specific tasks. Like Rich I'm still a little worried about the other cases that the lock is intended to fix. -- Cheers, Carlos.