Skip to content

: ARM: Enable THREAD_INFO_IN_TASK

Keith Packard linux-arm-kernel linux-hardening linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: Add per-cpu variable holding cpu numberarch/arm/include/asm/smp.h arch/arm/kernel/smp.c+18 -10 replies
2/2ARM: Move thread_info into task_structarch/arm/Kconfig arch/arm/include/asm/assembler.h arch/arm/include/asm/current.h +17 more+193 -1190 replies

Reviews trailers per patch

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

PatchArd Biesheuvel
SeriesR-b R-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2]: ARM: Enable THREAD_INFO_IN_TASK

Placing thread_info in the kernel stack leaves it vulnerable to stack overflow attacks. This short series addresses that by using the existing THREAD_INFO_IN_TASK infrastructure.

As this is my first patch in this part of the kernel, I'm looking for feedback about the general approach as well as specific comments on places where I've missed something.

I've only run this on armhf running under qemu, so while I've tried to make patches for other code paths, I haven't been able to test those.

(yes, I know checkpatch.pl complains about whitespace in asm-offsets.c, I decided to leave the existing whitespace alone)