Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5768147pxb; Mon, 28 Mar 2022 17:30:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYD2My1z/i/jGtG3OmqqZUPIFIsxfGdJkWqjPx8F8ral60pi6VtDt0KHlZUXW8YHS82L/r X-Received: by 2002:a05:6871:85:b0:d9:ac7a:7a5a with SMTP id u5-20020a056871008500b000d9ac7a7a5amr42021oaa.9.1648513806477; Mon, 28 Mar 2022 17:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648513806; cv=none; d=google.com; s=arc-20160816; b=pxKH2eP54qt1fTf2wn3rPIxt1tfTq10zeWjWvt8Zc1sCspwPSZo0hqPW/dkWfBParG wE20MCiyn2nWsxVfY3xtyfk5ZwjtDi6MjxnIQZ5pnbSMjk+qFmzI8vmGoZChwru+fClH c+1+z0a5slc3A+BeX7DVDda6U9vMHsADWdfbuvcu3xsI2pFPYsstgIO+50OGfCad/hTV 68qkSvpwriK3bxQNPydpkMLw28rENbPGs5EyqQh2ipY09jm59CUZodIN699opamwk1iZ hRs5gl8Vd3s8yTR9uJqN4QEUaPkO8QawcCxPO7agFQ+8f+pyEQ+QCrJfIb9hKvBM/Gz7 hlPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=13838w1A0QhQMZDXu7rpdESYgPLiCVAkKPIN4iMNrZA=; b=CRa3kX8k/wt4pOhVGVf8loeTKeFUAevTP03SikYvBNpQfWe94TiVJgrie6nyew19+/ UJlWmXH1/y+AmhVj6ot2I0lZO6ak2HKu1TuCr6iVyH75HojDQIhVmO8mApt3bAfGFXir 6IqnHC3bmvmaKsgvjhoLwtJxv7YUAB7iiS+YUbboDRCy4MB236LWDP/15HFiIVv0tdhL XEF2s0RR6bBWzDyiqm6RKYYV8Qbd55SjeASuK9rYIU7M7albjz37gNjd5dbjeeLC0ozU JQriiasKM2utGIQNYWsycW331IZYePgeOWR8lQuOYnGFweLuUKyY9PWmcHIEHEtjNG6V Sy9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=8Lskprpc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c21-20020a056808139500b002ef0c347627si13650150oiw.167.2022.03.28.17.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 17:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=8Lskprpc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A4BC81A387; Mon, 28 Mar 2022 17:04:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbiC2AF2 (ORCPT + 99 others); Mon, 28 Mar 2022 20:05:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbiC2AFY (ORCPT ); Mon, 28 Mar 2022 20:05:24 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98E20657D for ; Mon, 28 Mar 2022 17:03:41 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id x2so16127827plm.7 for ; Mon, 28 Mar 2022 17:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=13838w1A0QhQMZDXu7rpdESYgPLiCVAkKPIN4iMNrZA=; b=8Lskprpcamyihf734B/BZy9vNp/+G8VNvvQQWbW9cAqGb/JSvZvjSMONWkWnDBOSYe 05wKzKiUBXmAPJu8e0/HWvqREo214LsOdFQVL/c6EBXvXRPv9sSED2c0++/5zUyUN4nr o6I0AHOV1sa43McrOVaOtmDwrZRWQ3XybdYkIsAp1O+YBVvAfQPT+yiC0aoFEP2/kVGB oUCqLC2kUNtopL+vO/O4PX1qpDZFnqfuyoqFx12Wcq5Gm4uewISrzNSjW9hkKYH+AGD/ NGS15Zsgf3IPYk1K0jc6whYN/D7R4bssKnmMizW2KJ1psdN6k53E1VBkf3J36qb5DSht yuuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=13838w1A0QhQMZDXu7rpdESYgPLiCVAkKPIN4iMNrZA=; b=wo7dJN1AOv3i14HO1HHLmPv+eyNEBUcCcDn/3T28/0DuSQ6j1blVL+kKN2wqManad7 3CEiPqWEjCRrkjubu5cuMIWshC57m/vNWHdVjQhbGZR81E0d4SiktOT9nrbnIesAaXVC cq27SDpaYPqMwk1MjA9GI2OvnM2hzq6NX3Z67JziLLkink/XanImatlVKW9GmHkqVuTY ari5mTl3iwt49KGbud1fl39DHGc+HLH0QkF1/PJbTQXmDCvhsWykpFbo/RBMGD/1F9p8 rnhDYQJLu0L2etijE9fs+UI2Q5cEFuMe1nMDuCBhVYqv0BGHyAp2rYXyZMkaErBP3f+O kkDw== X-Gm-Message-State: AOAM530oR+7Stdj/H/ZhB28X8oRLbJVx8Qv1Z4kcDZJFXzUdZKRQIPnV rAJgr+2B6AmNHY/07XBTPIPJZQ== X-Received: by 2002:a17:902:b208:b0:14f:14e8:1e49 with SMTP id t8-20020a170902b20800b0014f14e81e49mr27413606plr.35.1648512220889; Mon, 28 Mar 2022 17:03:40 -0700 (PDT) Received: from [192.168.1.100] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id b16-20020a056a00115000b004f6ff260c9esm16448899pfm.207.2022.03.28.17.03.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Mar 2022 17:03:40 -0700 (PDT) Message-ID: Date: Mon, 28 Mar 2022 18:03:38 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [GIT PULL] ptrace: Cleanups for v5.18 Content-Language: en-US To: "Eric W. Biederman" , Linus Torvalds Cc: Alexey Gladkov , Kyle Huey , Oleg Nesterov , Kees Cook , Al Viro , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <87bl1kunjj.fsf@email.froward.int.ebiederm.org> <87r19opkx1.fsf_-_@email.froward.int.ebiederm.org> <87o82gdlu9.fsf_-_@email.froward.int.ebiederm.org> <87tubyx0rg.fsf_-_@email.froward.int.ebiederm.org> <87a6d9pr5t.fsf_-_@email.froward.int.ebiederm.org> From: Jens Axboe In-Reply-To: <87a6d9pr5t.fsf_-_@email.froward.int.ebiederm.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/28/22 5:56 PM, Eric W. Biederman wrote: > > Linus, > > Please pull the ptrace-cleanups-for-v5.18 tag from the git tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git ptrace-cleanups-for-v5.18 > > HEAD: dcbc65aac28360df5f5a3b613043ccc0e81da3cf ptrace: Remove duplicated include in ptrace.c > > This set of changes removes tracehook.h, moves modification of all of > the ptrace fields inside of siglock to remove races, adds a missing > permission check to ptrace.c > > The removal of tracehook.h is quite significant as it has been a major > source of confusion in recent years. Much of that confusion was > around task_work and TIF_NOTIFY_SIGNAL (which I have now decoupled > making the semantics clearer). > > For people who don't know tracehook.h is a vestiage of an attempt to > implement uprobes like functionality that was never fully merged, and > was later superseeded by uprobes when uprobes was merged. For many > years now we have been removing what tracehook functionaly a little > bit at a time. To the point where now anything left in tracehook.h is > some weird strange thing that is difficult to understand. FWIW, the notify/task_work/io_uring changes look good to me. Thanks for cleaning this up, Eric. -- Jens Axboe