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 53A98EB64D9 for ; Wed, 12 Jul 2023 14:14:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233052AbjGLOOr (ORCPT ); Wed, 12 Jul 2023 10:14:47 -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 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