Re: [PATCH RFT v5 2/7] selftests: Provide helper header for shadow stack testing

From: Edgecombe, Rick P
Date: Fri Feb 09 2024 - 15:24:42 EST

On Sat, 2024-02-03 at 00:04 +0000, 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>