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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5772CC433EF for ; Wed, 9 Mar 2022 22:29:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238658AbiCIWas (ORCPT ); Wed, 9 Mar 2022 17:30:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235018AbiCIWap (ORCPT ); Wed, 9 Mar 2022 17:30:45 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79204120F6F for ; Wed, 9 Mar 2022 14:29:46 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id h5so1844586plf.7 for ; Wed, 09 Mar 2022 14:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=an98V/AtD70mmakLBSFdzl5jNVO5y6gUhFCcF21+EEY=; b=hkaigC8u1dOWV+Y/5WrTIaGgDw4SwziAkNwHjOw8BmC31/Ct8FXN5F8ZhWAfCZ6uzD OktEgyyX9trBlsz3TDvRCHXCTwP52EEadSYoQHbmAvslrJHY2aX+WoYHjAnSXrBDTiIk xroa7D2C4E/Co3wqm/f/619kWbsiafU9NMdx0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=an98V/AtD70mmakLBSFdzl5jNVO5y6gUhFCcF21+EEY=; b=aZh+m3D2xT7d4bBg6vCmvTsOWvBA/je30e+YTrlLdg5+IgzXrgk8TeFdVDUiQ4hJtj nJptnoBCPO29F24l9p52oAsT2LNxFGARYnAOTCuQt1FMy/AzNSm+2hxgN0X+qR00vmAG t1DMIfjMFHR6aD7xkZAmr7scgcwvrXvDmxQwXRdIfL+aPmZyhNqWoic+WgDv6k6t33Rc 0kHqn55d/zV5iwDkoS7IouJYhVa2gr0/DCb52EHdN4sT09CVOTGpru4q8XwzJC3Uwl/8 K3c1G46EgKID8PFdVmkpP3MuFLrxxl2C9QyQcGKId029OXXYFvURqJZdN2mrZi4zFcf+ MmXQ== X-Gm-Message-State: AOAM532e/3HMwv3mgK6SZOWvxtHZ3L1Vfu59LiNNAUgn0c4rDh7VjTsS jGeCRpXVBBLgTdkcHDq/6Wey4w== X-Google-Smtp-Source: ABdhPJztl1peMd3dcFt3FvVQqY678bzJcvCTCaLSavI4wBbgg1t2K21AogCHqUBk1esXy+D8+QBgIQ== X-Received: by 2002:a17:90b:4f43:b0:1bf:4f89:1270 with SMTP id pj3-20020a17090b4f4300b001bf4f891270mr1783872pjb.202.1646864986044; Wed, 09 Mar 2022 14:29:46 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f21-20020a056a00239500b004f70be86728sm4303064pfc.214.2022.03.09.14.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 14:29:45 -0800 (PST) Date: Wed, 9 Mar 2022 14:29:45 -0800 From: Kees Cook To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Al Viro , Jens Axboe Subject: Re: [PATCH 05/13] ptrace: Remove tracehook_signal_handler Message-ID: <202203091429.08136CF@keescook> References: <87o82gdlu9.fsf_-_@email.froward.int.ebiederm.org> <20220309162454.123006-5-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309162454.123006-5-ebiederm@xmission.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 09, 2022 at 10:24:46AM -0600, Eric W. Biederman wrote: > The two line function tracehook_signal_handler is only called from > signal_delivered. Expand it inline in signal_delivered and remove it. > Just to make it easier to understand what is going on. > > Signed-off-by: "Eric W. Biederman" Reviewed-by: Kees Cook -- Kees Cook