From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDF25C433FE for ; Thu, 21 Oct 2021 13:34:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AAB1661212 for ; Thu, 21 Oct 2021 13:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbhJUNgo (ORCPT ); Thu, 21 Oct 2021 09:36:44 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:54244 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbhJUNgo (ORCPT ); Thu, 21 Oct 2021 09:36:44 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]:40512) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mdYD5-005DQ9-NZ; Thu, 21 Oct 2021 07:34:19 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95]:46380 helo=email.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mdYD4-003epC-7e; Thu, 21 Oct 2021 07:34:19 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , Rich Felker , "open list\:TENSILICA XTENSA PORT \(xtensa\)" , Benjamin Herrenschmidt , "open list\:BROADCOM NVRAM DRIVER" , Max Filippov , Paul Mackerras , H Peter Anvin , sparclinux , Vincent Chen , Thomas Gleixner , Linux-Arch , linux-s390 , Yoshinori Sato , Michael Ellerman , Linux-sh list , Christian Borntraeger , Ingo Molnar , Jonas Bonn , Kees Cook , Vasily Gorbik , Heiko Carstens , Openrisc , Borislav Petkov , Al Viro , Andy Lutomirski , Chris Zankel , Thomas Bogendoerfer , Nick Hu , linuxppc-dev , Oleg Nesterov , Greg Kroah-Hartman , Maciej Rozycki , Linus Torvalds , David Miller , Greentime Hu References: <87y26nmwkb.fsf@disp2133> <877de7jrev.fsf@disp2133> Date: Thu, 21 Oct 2021 08:33:51 -0500 In-Reply-To: (Geert Uytterhoeven's message of "Thu, 21 Oct 2021 10:09:46 +0200") Message-ID: <87tuhaijsw.fsf@disp2133> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1mdYD4-003epC-7e;;;mid=<87tuhaijsw.fsf@disp2133>;;;hst=in02.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+Mpe2HbWR2YDGhZ3vVJNTbKaHiNpeOXoM= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH 21/20] signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV) X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Geert Uytterhoeven writes: > Hi Eric, > > Patch 21/20? In reviewing another part of the patchset Linus asked if force_sigsegv could go away. It can't completely but I can get this far. Given that it is just a cleanup it makes most sense to me as an additional patch on top of what is already here. > On Wed, Oct 20, 2021 at 11:52 PM Eric W. Biederman > wrote: >> Now that force_fatal_sig exists it is unnecessary and a bit confusing >> to use force_sigsegv in cases where the simpler force_fatal_sig is >> wanted. So change every instance we can to make the code clearer. >> >> Signed-off-by: "Eric W. Biederman" > >> arch/m68k/kernel/traps.c | 2 +- > > Acked-by: Geert Uytterhoeven Thank you. Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39278C433EF for ; Thu, 21 Oct 2021 13:35:07 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E659611CE for ; Thu, 21 Oct 2021 13:35:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2E659611CE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xmission.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HZpPh2KVWz3cM5 for ; Fri, 22 Oct 2021 00:35:04 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=xmission.com (client-ip=166.70.13.233; helo=out03.mta.xmission.com; envelope-from=ebiederm@xmission.com; receiver=) Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HZpP66gzwz2xr0 for ; Fri, 22 Oct 2021 00:34:31 +1100 (AEDT) Received: from in02.mta.xmission.com ([166.70.13.52]:40512) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mdYD5-005DQ9-NZ; Thu, 21 Oct 2021 07:34:19 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95]:46380 helo=email.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mdYD4-003epC-7e; Thu, 21 Oct 2021 07:34:19 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Geert Uytterhoeven References: <87y26nmwkb.fsf@disp2133> <877de7jrev.fsf@disp2133> Date: Thu, 21 Oct 2021 08:33:51 -0500 In-Reply-To: (Geert Uytterhoeven's message of "Thu, 21 Oct 2021 10:09:46 +0200") Message-ID: <87tuhaijsw.fsf@disp2133> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1mdYD4-003epC-7e; ; ; mid=<87tuhaijsw.fsf@disp2133>; ; ; hst=in02.mta.xmission.com; ; ; ip=68.227.160.95; ; ; frm=ebiederm@xmission.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX1+Mpe2HbWR2YDGhZ3vVJNTbKaHiNpeOXoM= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH 21/20] signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV) X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , Linux-sh list , Linux Kernel Mailing List , Max Filippov , Paul Mackerras , Greentime Hu , H Peter Anvin , sparclinux , Vincent Chen , Linux-Arch , linux-s390 , Yoshinori Sato , Christian Borntraeger , Ingo Molnar , "open list:TENSILICA XTENSA PORT \(xtensa\)" , Kees Cook , Vasily Gorbik , Heiko Carstens , Openrisc , Borislav Petkov , Al Viro , Andy Lutomirski , Oleg Nesterov , Thomas Gleixner , Chris Zankel , Jonas Bonn , Nick Hu , Greg Kroah-Hartman , Linus Torvalds , "open list:BROADCOM NVRAM DRIVER" , Thomas Bogendoerfer , linuxppc-dev , David Miller , Maciej Rozycki Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Geert Uytterhoeven writes: > Hi Eric, > > Patch 21/20? In reviewing another part of the patchset Linus asked if force_sigsegv could go away. It can't completely but I can get this far. Given that it is just a cleanup it makes most sense to me as an additional patch on top of what is already here. > On Wed, Oct 20, 2021 at 11:52 PM Eric W. Biederman > wrote: >> Now that force_fatal_sig exists it is unnecessary and a bit confusing >> to use force_sigsegv in cases where the simpler force_fatal_sig is >> wanted. So change every instance we can to make the code clearer. >> >> Signed-off-by: "Eric W. Biederman" > >> arch/m68k/kernel/traps.c | 2 +- > > Acked-by: Geert Uytterhoeven Thank you. Eric From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric W. Biederman Date: Thu, 21 Oct 2021 08:33:51 -0500 Subject: [OpenRISC] [PATCH 21/20] signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV) In-Reply-To: (Geert Uytterhoeven's message of "Thu, 21 Oct 2021 10:09:46 +0200") References: <87y26nmwkb.fsf@disp2133> <877de7jrev.fsf@disp2133> Message-ID: <87tuhaijsw.fsf@disp2133> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org Geert Uytterhoeven writes: > Hi Eric, > > Patch 21/20? In reviewing another part of the patchset Linus asked if force_sigsegv could go away. It can't completely but I can get this far. Given that it is just a cleanup it makes most sense to me as an additional patch on top of what is already here. > On Wed, Oct 20, 2021 at 11:52 PM Eric W. Biederman > wrote: >> Now that force_fatal_sig exists it is unnecessary and a bit confusing >> to use force_sigsegv in cases where the simpler force_fatal_sig is >> wanted. So change every instance we can to make the code clearer. >> >> Signed-off-by: "Eric W. Biederman" > >> arch/m68k/kernel/traps.c | 2 +- > > Acked-by: Geert Uytterhoeven Thank you. Eric