[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a64f80ed957d430bbbf73cdc4ad5c8e2@AcuMS.aculab.com>
Date: Wed, 14 Jun 2023 11:30:15 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Sven Schnelle' <svens@...ux.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] tracing: fix memcpy size when copying stack entries
From: Sven Schnelle
> Sent: 14 June 2023 11:41
>
> Steven Rostedt <rostedt@...dmis.org> writes:
>
> > On Tue, 13 Jun 2023 07:19:14 +0200
> > Sven Schnelle <svens@...ux.ibm.com> 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)
What about:
(memcpy)(......)
Or maybe:
(__builtin_memcpy)(....)
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists