Add a test for longjmp from user context
commit08bc191fd1603c41f5ddc97ead716e952a556dfd
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Dec 2023 19:37:02 +0000 (14 11:37 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Dec 2023 16:38:48 +0000 (16 08:38 -0800)
tree3b55033bb08154a5eba9f405c804367166ec1837
parent93a739d4a1c34c9dbb96ced4fbeaa18e02000b6a
Add a test for longjmp from user context

Verify that longjmp works correctly after setcontext is called to switch
to a user context.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
stdlib/Makefile
stdlib/tst-setcontext10.c [new file with mode: 0644]