From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id 2776D3870843 for ; Wed, 22 Apr 2020 07:33:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2776D3870843 Received: by mail-pf1-x444.google.com with SMTP id 145so631325pfw.13 for ; Wed, 22 Apr 2020 00:33:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=oGcRKkgkVr4JcI1ibH9gwtLZOypiwzpP4gH9dSaU7iQ=; b=DcCqyYLHo8Z5+7104pQ9KEtwsaTbH2ydhz6hENL/1JmH8K/uKYQ2tPZg6rcc9ZvZ0n iJOZreJPKNr5UrPU558QncD7yjZK8qzmWiH0X7uJ+IXWX7YsVBv5K8Ai5gTlIOVSPnaA X28uikiTZ9Ue7MLAVE065pv9REwxuGnaeLTlPiXhIv9Cf0SAEceVG3rOCNwQ1CAxNPWm hYezcRB3Fy7Y5OJ4fBWZi5B1iwNHvdoPNx35zO7ALoTU6T8oKz1QJx4rlKeQRL+d+GuX v+L8ooOWyhIGUI87NqIjURSzHxL26GpDmb1Dhyg5t2VZwbBE1LfDENx2TC0nCfa09fvl yYNQ== X-Gm-Message-State: AGi0PuZi0aYk+ey8rJP1ZW8hNMSAcgRuA00GU7anx0KxhvT0HqJ7ys0I 0hjrzkH8H3I2pVf3udFbcjw= X-Google-Smtp-Source: APiQypIn1uMRP3SnZ423g+QJntQbuuVv7pdNNC5Eob68blIs9swJ39ifzY1cOI/a2YG9MS0NijIB+g== X-Received: by 2002:a62:25c6:: with SMTP id l189mr26325614pfl.28.1587540818374; Wed, 22 Apr 2020 00:33:38 -0700 (PDT) Received: from localhost ([203.185.249.170]) by smtp.gmail.com with ESMTPSA id d18sm4563910pfq.177.2020.04.22.00.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 00:33:37 -0700 (PDT) Date: Wed, 22 Apr 2020 17:31:07 +1000 From: Nicholas Piggin Subject: Re: [musl] Re: Powerpc Linux 'scv' system call ABI proposal take 2 To: Florian Weimer Cc: Adhemerval Zanella , Rich Felker , David Laight , "libc-alpha@sourceware.org" , "libc-dev@lists.llvm.org" , "linuxppc-dev@lists.ozlabs.org" , musl@lists.openwall.com, Segher Boessenkool References: <1586931450.ub4c8cq8dj.astroid@bobo.none> <20200415225539.GL11469@brightrain.aerifal.cx> <20200416153756.GU11469@brightrain.aerifal.cx> <4b2a7a56-dd2b-1863-50e5-2f4cdbeef47c@linaro.org> <20200416175932.GZ11469@brightrain.aerifal.cx> <4f824a37-e660-8912-25aa-fde88d4b79f3@linaro.org> <20200416183151.GA11469@brightrain.aerifal.cx> <1587344003.daumxvs1kh.astroid@bobo.none> <20200421143941.GJ11469@brightrain.aerifal.cx> <960127e0-57a0-55b4-f309-ae0a675c7756@linaro.org> <1587536988.ivnp421w2w.astroid@bobo.none> <874ktcng8z.fsf@mid.deneb.enyo.de> In-Reply-To: <874ktcng8z.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Message-Id: <1587540390.vde84z8edw.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2020 07:33:40 -0000 Excerpts from Florian Weimer's message of April 22, 2020 5:15 pm: > * Nicholas Piggin: >=20 >> Another option would be to use a different signal. I don't see that any=20 >> are more suitable. >=20 > SIGSYS comes to my mind. But I don't know how exclusively it is > associated with seccomp these days. SIGSYS is entirely seccomp now. There looks like a single obscure MIPS=20 user of it in Linux that's not seccomp, but it would be entirely new for=20 powerpc (or any of the common platforms, arm, x86 etc). So I would be disinclined to use SIGSYS unless there are no other better=20 signal types, and we don't want to use SIGILL for some good reason -- is=20 there a good reason to add complexity for userspace by differentiating=20 these two situations? Thanks, Nick