Thread (10 messages) flat view 10 messages, 4 authors, 2021-12-07

Re: [PATCH] powerpc/signal32: Use struct_group() to zero spe regs

From: Michael Ellerman <hidden>
Date: 2021-12-07 13:28:50
Also in: linux-hardening, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help