On Mon, Jun 09, 2025 at 01:54:04PM +0100, Mark Brown wrote: > While almost all users of shadow stacks should be relying on the dynamic > linker and libc to enable the feature there are several low level test > programs where it is useful to enable without any libc support, allowing > testing without full system enablement. This low level testing is helpful > during bringup of the support itself, and also in enabling coverage by > automated testing without needing all system components in the target root > filesystems to have enablement. > > Provide a header with helpers for this purpose, intended for use only by > test programs directly exercising shadow stack interfaces. > > Reviewed-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx> > Reviewed-by: Kees Cook <kees@xxxxxxxxxx> > Tested-by: Kees Cook <kees@xxxxxxxxxx> > Acked-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>