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 D76A7C4332F 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 C2830611CE for ; Thu, 21 Oct 2021 13:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbhJUNgo (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-arch@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