From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14934 invoked by alias); 17 Apr 2018 21:20:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-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-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-User: qpsmtpd, 2 recipients X-HELO: relay1.mentorg.com Date: Tue, 17 Apr 2018 21:20:00 -0000 From: Joseph Myers 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-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/msg00290.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