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.
Thanks.
Reviewed-by: Rick Edgecombe rick.p.edgecombe@intel.com