Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1087484pxb; Wed, 6 Apr 2022 08:25:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrqsFPwKgQldiVp7HoYwS/XIcP2kLTog3inrQ2JgdGSN+fND1Gi92w8c66WOk3UISzwqXj X-Received: by 2002:a17:90b:1b4f:b0:1c6:e74b:31d2 with SMTP id nv15-20020a17090b1b4f00b001c6e74b31d2mr10522561pjb.169.1649258710870; Wed, 06 Apr 2022 08:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649258710; cv=none; d=google.com; s=arc-20160816; b=Uq9OYycVQKmzReq6ixXh5QlrhecERSIH8+PdnUpeJCt4Kyjpy4gT+6pxvrTBzBNhmy P7aFy/nXgRhXrh2PCKfZxvAmHoLFktu5sw+J+xYR7eaqQn1KzhzIWWFfMOaaQmRaTZKh 12dC1f0RZhl47LFlJ7wa8ESs2vXxC9INvz3b03pr0j+wAP50BrdCQliaofU1gJnvWqw8 1Y+GKaAM2siNmz9zzeZtevlwCrbAAlNMv8g5JCcItAwdAcnihtRTP0nF7it75oPcvFcd uS+aVqayNDqQesz2nfgrfpYLHgYCctketQ/8n739ZZs0dTq94xdUnYz9ztIwORNyKqn1 +WrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=O5MBZsvN0q1sfEbhpNVa1P6H8dBL2GH0dzK3hKEVlZw=; b=FR6whFNyYWlKhcth5DDXnZfjkP1Z5mmOub0HEZ/PxzCe5zq5GHiMTwKY7npMsjVBKA /ytaxKnDAYb1zQEsn/WxMAVDculqxGmAjfG5ZqX7n31mUIcB0clsi8geIOCVBHI1+M+6 iIVmGkf8x15rd8KM7tBoxzVv77l/yS1qMnxNKF2a55JKwjSEQzx8A3UfW4D6dEwmIKCT X95HO781TMrssjXrD/tNu8ptx9sHaAKwIE11AAWlm26O898g9LilhB+f5R8Fi1UV1D0j fY9G9dMYLkyl8hzltx3YMd5C0cymetME3Pev2oGzLqhFyIOAAfH5P7FNtoQrSQCBkyTE t73A== ARC-Authentication-Results: i=1; mx.google.com; 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 n12-20020a170902d2cc00b00153b2d16424si17021995plc.44.2022.04.06.08.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 08:25:10 -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; 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 D089335B268; Wed, 6 Apr 2022 06:29:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233159AbiDFNbm (ORCPT + 99 others); Wed, 6 Apr 2022 09:31:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233262AbiDFNbY (ORCPT ); Wed, 6 Apr 2022 09:31:24 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 58DB9675450 for ; Wed, 6 Apr 2022 03:30:40 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxusyWa01iAhAZAA--.30206S4; Wed, 06 Apr 2022 18:29:42 +0800 (CST) From: Tiezhu Yang To: Oleg Nesterov , Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ptrace: Fix wrong comment of PT_DTRACE Date: Wed, 6 Apr 2022 18:29:40 +0800 Message-Id: <1649240981-11024-3-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1649240981-11024-1-git-send-email-yangtiezhu@loongson.cn> References: <1649240981-11024-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9AxusyWa01iAhAZAA--.30206S4 X-Coremail-Antispam: 1UD129KBjvdXoWrtrW3KF43XFW5Jry5CF1rWFg_yoW3Wwb_Z3 WxXr4vkF4UXrn7WFnxXF17tF1rKws3Zan2gFn5GrZxZ3s8trWYgFn0gr9rCa15ua17ZF9x Zan7X3s7Xr1S9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbfxYjsxI4VW3JwAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7 IE14v26r15M28IrcIa0xkI8VCY1x0267AKxVWUCVW8JwA2ocxC64kIII0Yj41l84x0c7CE w4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r4j6ryUM28EF7xvwVC0I7IYx2IY6x kF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwVC2z280aVCY 1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4 xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCa FVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkIecxEwVAFwVW8twCF04k20xvY0x0EwI xGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480 Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7 IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k2 6cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07j72-nUUUUU= X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 PT_DTRACE is only used on um now, fix the wrong comment. Signed-off-by: Tiezhu Yang --- include/linux/ptrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 15b3d17..db45095 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -30,7 +30,7 @@ extern int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, #define PT_SEIZED 0x00010000 /* SEIZE used, enable new behavior */ #define PT_PTRACED 0x00000001 -#define PT_DTRACE 0x00000002 /* delayed trace (used on m68k, i386) */ +#define PT_DTRACE 0x00000002 /* delayed trace (used on um) */ #define PT_OPT_FLAG_SHIFT 3 /* PT_TRACE_* event enable flags */ -- 2.1.0