From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14935 invoked by alias); 17 Apr 2018 21:20:47 -0000 Mailing-List: contact libc-stable-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: List-Archive: Sender: libc-stable-owner@sourceware.org Received: (qmail 14907 invoked by uid 89); 17 Apr 2018 21:20:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.4 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:684 X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Apr 2018 21:20:45 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1f8Y1r-0005rJ-3C from joseph_myers@mentor.com ; Tue, 17 Apr 2018 14:20:43 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 17 Apr 2018 22:20:39 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.86_2) (envelope-from ) id 1f8Y1n-00022f-2L; Tue, 17 Apr 2018 21:20:39 +0000 Date: Mon, 01 Jan 2018 00:00:00 -0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Aurelien Jarno CC: , , DJ Delorie , Andrew Waterman , Darius Rad , Palmer Dabbelt Subject: Re: [PATCH 2.27] RISC-V: fix struct kernel_sigaction to match the kernel version [BZ #23069] In-Reply-To: <20180416204132.9251-1-aurelien@aurel32.net> Message-ID: References: <20180416204132.9251-1-aurelien@aurel32.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2018-04/txt/msg00014.txt.bz2 On Mon, 16 Apr 2018, Aurelien Jarno wrote: > The RISC-V kernel doesn't define SA_RESTORER, hence the kernel version > of struct sigaction doesn't have the sa_restorer field. The default > kernel_sigaction.h therefore can't be used. > > This patch adds a RISC-V specific version of kernel_sigaction.h to fix > the issue. This fixes for example the libnih testsuite. I think there ought to be a relevant test added to the glibc testsuite (on master and backported) if there isn't one already, unless it's hard to test this issue for some reason. -- Joseph S. Myers joseph@codesourcery.com