Sergey Bugaev 01f317e98f mach: Add __mach_setup_thread_call ()
This is just like mach_setup_thread (), but it's suitable for making the
thread call a function correctly, as opposed to explicitly setting the
thread's stack and instruction pointers to the given values. Internally,
it uses MACHINE_THREAD_STATE_SETUP_CALL.

Unlike mach_setup_thread (), which is exported via mach.h for the
benefit of the Hurd exec server, __mach_setup_thread_call () is private
to glibc for the time being.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230517191436.73636-5-bugaevc@gmail.com>
2023-05-17 22:56:23 +02:00
..
2023-02-12 15:55:04 +01:00
2018-04-02 22:08:55 +00:00
2023-02-20 00:46:36 +01:00
2023-05-17 22:56:23 +02:00
2018-06-16 02:50:30 +02:00
2018-04-04 02:17:49 +02:00