Add tests to verify that legacy shadow stack applications run properly when shadow stack is enabled in Linux kernel.