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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2166C433F5 for ; Wed, 12 Jan 2022 07:54:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349206AbiALHyx (ORCPT ); Wed, 12 Jan 2022 02:54:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348876AbiALHyu (ORCPT ); Wed, 12 Jan 2022 02:54:50 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB60C061748; Tue, 11 Jan 2022 23:54:49 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id r16-20020a17090a0ad000b001b276aa3aabso10438610pje.0; Tue, 11 Jan 2022 23:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ddbcgUQy2ACGWNObhkkWr7cYAjgrS2/NpX3SVZgBanA=; b=WBv4GQIxcRGangotyCbt//fiM1Lz11jdVPLZycyZblrYZFPmB/q0PIkmEd+qe70Vyg vTthNnErrfx+IuNXtgUdm5L+qMuEGXIV7/AFTVEmvafOiG1LREaCxCz65mBD4YDWGXv+ kmLmaYGWDxzpdIptHErKO/0BBAbN1Phw73kW4dU/3A/+WT8buIw8WDIl4HhDq+Tm61rg fSG7NF7rSoaJFMLaaWmJh4OBsLXdss/VqDVV9PpWF8oxBaCtyOAVxm4ai/ysDtNOGjJh lZXOUwyqeBWE05Xt7rAxjAh4zaV0mUFULR2M+64m8J+0Oykfm/596fhaVtZ7R75DXb+k QFqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ddbcgUQy2ACGWNObhkkWr7cYAjgrS2/NpX3SVZgBanA=; b=dHGGfbgY+9UHAgIdpLsr2znDMfRce6mle4Ce+t8YsDFY6D0QUZWJ9SR77GMEe0pUPz booKC6p0gABSxOFyMhRa1Zn4hrHPkW82GfZFsvW10wfMXLtLm04H6HxIIFxgAdtcXBRr 3wv47knmEfbW4w+ywgC2v7szG4sQKVX5mX5JwlEI2nBZ8pYRHEE1bRk9IINoHC1mvky3 4XbR9JvI/E0ub3cx3OXdzlAUGmExJwQNp7jgWRSCP8GuJJ2NSwVQzUTJj2px+EDwXnt6 wm3q7C2+xDLIHk5Q98XjST8e2eAy2DT4JUbyGKrdVHIPS37lZj/zI2SFSuHVXkbyAZzw Kgww== X-Gm-Message-State: AOAM531EjHqACqDRL2Ie6J828E9gmdKgM/8k5bJFKNiH3LAZ45TW10Bo XrIy1m1/j7BZq0cm8OFWOZ4= X-Google-Smtp-Source: ABdhPJw8k5KAZAGaTerc9zDYCOtFDBKhkRXcvisgad9JG3JiyhDSRfS1pigx5bqT9dc8UwETrzdMXw== X-Received: by 2002:a05:6a00:a90:b0:4bd:320a:d579 with SMTP id b16-20020a056a000a9000b004bd320ad579mr8311974pfl.47.1641974088535; Tue, 11 Jan 2022 23:54:48 -0800 (PST) Received: from [10.1.1.24] (222-155-5-102-adsl.sparkbb.co.nz. [222.155.5.102]) by smtp.gmail.com with ESMTPSA id k23sm5124495pji.3.2022.01.11.23.54.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jan 2022 23:54:47 -0800 (PST) Subject: Re: [PATCH 08/17] ptrace/m68k: Stop open coding ptrace_report_syscall To: Finn Thain References: <87r19opkx1.fsf_-_@email.froward.int.ebiederm.org> <20220103213312.9144-8-ebiederm@xmission.com> <6060f799-d0c5-e4c2-a81c-2bd872ce3d5a@gmail.com> Cc: Geert Uytterhoeven , Al Viro , "Eric W. Biederman" , Linux Kernel Mailing List , Linux-Arch , Linus Torvalds , Oleg Nesterov , Kees Cook , Linux API , linux-m68k From: Michael Schmitz Message-ID: <1a0ea2f0-d817-7261-b17e-c1f5f3a767e4@gmail.com> Date: Wed, 12 Jan 2022 20:54:37 +1300 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, Am 12.01.2022 um 16:32 schrieb Finn Thain: > On Wed, 12 Jan 2022, Michael Schmitz wrote: > >> >> I seem to recall we also tested those on your 040 and there was no >> regression there, but I may be misremembering that. >> > > I abandoned that regression testing exercise when unpatched mainline > kernels began failing on that machine. I'm in the process of setting up a > different 68040 machine. > Thanks for refreshing my memory! Splitting my first patch as suggested by Al in order to defer handling of the syscall_trace_enter() return code would achieve what Geert suggested (eliminate m68k syscall_trace() altogether) without risk of regression. This would need to replace Eric's patch 8. Do you want me to send such a version based on my old patch series, or would you rather prepare that yourself, Eric? Cheers, Michael