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.3 required=5.0 tests=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 27804 invoked from network); 21 May 2021 20:52:18 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 21 May 2021 20:52:18 -0000 Received: (qmail 15604 invoked by uid 550); 21 May 2021 20:52:16 -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 15586 invoked from network); 21 May 2021 20:52:16 -0000 Date: Fri, 21 May 2021 23:52:04 +0300 From: "Dmitry V. Levin" To: Matheus Castanho Cc: Florian Weimer , Matheus Castanho via Libc-alpha , Nicholas Piggin , musl@lists.openwall.com, linux-api@vger.kernel.org, libc-dev@lists.llvm.org, linuxppc-dev@lists.ozlabs.org Message-ID: <20210521205204.GA24309@altlinux.org> References: <20200611081203.995112-1-npiggin@gmail.com> <20210518231331.GA8464@altlinux.org> <1621385544.nttlk5qugb.astroid@bobo.none> <1621400263.gf0mbqhkrf.astroid@bobo.none> <87a6oo4312.fsf@linux.ibm.com> <87k0nr6ezw.fsf@oldenburg.str.redhat.com> <87eedz3li3.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87eedz3li3.fsf@linux.ibm.com> Subject: [musl] Re: Linux powerpc new system call instruction and ABI On Fri, May 21, 2021 at 05:00:36PM -0300, Matheus Castanho wrote: > Florian Weimer writes: > > * Matheus Castanho via Libc-alpha: > >> From: Nicholas Piggin > >> Subject: [PATCH 1/1] powerpc: Fix handling of scv return error codes > >> > >> When using scv on templated ASM syscalls, current code interprets any > >> negative return value as error, but the only valid error codes are in > >> the range -4095..-1 according to the ABI. > >> > >> Reviewed-by: Matheus Castanho > > > > Please reference bug 27892 in the commit message. I'd also appreciate a > > backport to the 2.33 release branch (where you need to add NEWS manually > > to add the bug reference). > > No problem. [BZ #27892] appended to the commit title. I'll make sure to > backport to 2.33 as well. Could you also mention in the commit message that the change fixes 'signal.gen.test' strace test where it was observed initially? -- ldv