Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/signal32: Use struct_group() to zero spe regs | Date | Wed, 08 Dec 2021 00:27:16 +1100 |
| |
On Thu, 18 Nov 2021 12:36:04 -0800, Kees Cook wrote: > In preparation for FORTIFY_SOURCE performing compile-time and run-time > field bounds checking for memset(), avoid intentionally writing across > neighboring fields. > > Add a struct_group() for the spe registers so that memset() can correctly reason > about the size: > > [...]
Applied to powerpc/next.
[1/1] powerpc/signal32: Use struct_group() to zero spe regs https://git.kernel.org/powerpc/c/62ea67e31981bca95ec16c37e2a1fba68f3dd8c5
cheers
| |