Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38420524rwd; Wed, 12 Jul 2023 07:28:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCs0KQ+wFIK9eLG8Fy5Ey7YwNxrL6Bbl0URdC2Ta/O+VfzbzQXUXFRne5NxXj/gsc1C5JK X-Received: by 2002:aa7:d741:0:b0:51d:f37c:e3b8 with SMTP id a1-20020aa7d741000000b0051df37ce3b8mr19394544eds.13.1689172098315; Wed, 12 Jul 2023 07:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689172098; cv=none; d=google.com; s=arc-20160816; b=NLjYEoF8o0lzDcRKCE4XDNDYZAc3QqXMADSi1fTWurNDCjJ35DdjDX6BjZEc6cc2mB zNN5GizfUtu1Z94TxPIKf4s7qrz9w0jQEFoeIJXkM1UAliTiq8fWbjdeoY7x68vM/LPz AQcLKIb1YijFBcLPI0dj/J0gRpPGdWE5EquvN2vjlu+3Afhx+r7P9SDV6fFFBRbyumQG YABOKKivxcaMpQdBcREen25rUTumF9r1npAmXikMb+1tHAEC6b3w46EaNLKpxnz6GtDV /bNEREQKooTJYoz8T2znch/GSe11kVTumZphV90L7181wkD4eUbbDwSE5ripgSOI254I 7dnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=qGWhqjQCaRKZp9GoWTTvYfNyLGGoyzRD7SZ962y2mk0=; fh=HHOxFvNAY/sRwBv85R3+8vnCx7lB3AQqy6zyOspRuJ0=; b=aRxvazOhqMy32ZYkJJdN61VDgZGae3pO9bQUL/df7puxEO+g+Y+wIj33Oi5Ixn7vG9 MtrvdCXQHoy7TFDeWeVWge8tO13DlO/EDZIWOHdShkRXPw6el/e3F6Go/7tuZeMyOsyl xQhKtsh9DYGiLuiryvMLV0ob3OL0txhLJYd7LUieNDFXTXwn8NCuwj6lVqVu6D6TEyw6 PSq2MaN/asNlOUdzGlnjn43Bb8y4G5RLDyzsU8tOas7PXlW7sjvrqXsWX8EyqiQAMgnx SxWl274pizv210R7VqQORF5FtpquizmVXuzkpYHP+r3GFXtmH4m2XZYX1aFbsPXorMU0 R7LQ== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a50ec83000000b0051e247f2828si5019565edr.91.2023.07.12.07.27.48; Wed, 12 Jul 2023 07:28:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233180AbjGLOOq (ORCPT + 99 others); Wed, 12 Jul 2023 10:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233086AbjGLOOo (ORCPT ); Wed, 12 Jul 2023 10:14:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 344811BC2 for ; Wed, 12 Jul 2023 07:14:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AE623617DA for ; Wed, 12 Jul 2023 14:14:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC1AEC433C7; Wed, 12 Jul 2023 14:14:36 +0000 (UTC) Date: Wed, 12 Jul 2023 10:14:34 -0400 From: Steven Rostedt To: Sven Schnelle Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: fix memcpy size when copying stack entries Message-ID: <20230712101434.4613b3ec@gandalf.local.home> In-Reply-To: References: <20230612160748.4082850-1-svens@linux.ibm.com> <20230612123407.5ebcabdf@gandalf.local.home> <20230613113737.1e07c892@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, 12 Jul 2023 16:06:27 +0200 Sven Schnelle wrote: > > No, still getting the same warning: > > > > [ 2.302776] memcpy: detected field-spanning write (size 104) of single field "stack" at kernel/trace/trace.c:3178 (size 64) > > BTW, i'm seeing the same error on x86 with current master when > CONFIG_FORTIFY_SOURCE=y and CONFIG_SCHED_TRACER=y: As I don't know how the fortifier works, nor what exactly it is checking, do you have any idea on how to quiet it? This is a false positive, as I described before. -- Steve