ut = (struct uthread *)get_bsdthread_info(thread);
+ /* see osfmk/kern/restartable.c */
+ act_set_ast_reset_pcs(thread);
/*
* If we are being asked to change the altstack flag on the thread, we
* just set/reset it and return (the uap->uctx is not used).
return 0;
}
- /* see osfmk/kern/restartable.c */
- act_set_ast_reset_pcs(thread);
-
bzero(mctxp, sizeof(*mctxp));
sig_xstate = current_xstate();