Skip to content

powerpc: fortify support

Daniel Axtens kernel-hardening linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc: Don't fortify prom_initarch/powerpc/kernel/prom_init.c+3 -01 reply
2/2powerpc: Make feature-fixup tests fortify-safearch/powerpc/lib/feature-fixups.c+90 -901 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew DonnellanMichael Ellerman
SeriesR-b
1/2A-b
2/2T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [kernel-hardening] [PATCH 0/2] powerpc: fortify support

This series provides arch-specific support for Daniel Micay's fortified string functions on powerpc.

Fortified string functions provied some compile and run time bounds checking on commonly used string functions.

It's cool - currently it picks up a lot of random things so it will require some more work across the tree, but hopefully it will eventually hit mainline. These patches make powerpc ready for when it does.

They've been tested on pseries.

I think patch 1 should probably go through Kees to line up with the fortify patch itself, but patch 2 can apply to powerpc as is. But up to you, mpe.

Regards,
Daniel

Daniel Axtens (2):
powerpc: Don't fortify prom_init
powerpc: Make feature-fixup tests fortify-safe

 arch/powerpc/kernel/prom_init.c   |   3 +
 arch/powerpc/lib/feature-fixups.c | 180 +++++++++++++++++++-------------------
 2 files changed, 93 insertions(+), 90 deletions(-)
Signature · 1 line
2.11.0