Re: [PATCH] tracing: fix memcpy size when copying stack entries

From: Sven Schnelle
Date: Wed Jun 14 2023 - 06:41:40 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> writes:

> On Tue, 13 Jun 2023 07:19:14 +0200
> Sven Schnelle <svens@xxxxxxxxxxxxx> wrote:
>
>> > Yes the above may be special, but your patch breaks it.
>>
>> Indeed, i'm feeling a bit stupid for sending that patch, should have
>> used my brain during reading the source. Thanks for the explanation.
>
> Does this quiet the fortifier?
> [..]

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)