]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/exception.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / kern / exception.h
index 0f5a81effebc5217c97585a48f9948d543a43bff..ef530a63de82c3c331c83d361cadf05257dd9be5 100644 (file)
  * There are arrays of these maintained at the activation, task, and host.
  */
 struct exception_action {
-       struct ipc_port         *port;          /* exception port */
+       struct ipc_port         * XNU_PTRAUTH_SIGNED_PTR("exception_action.port") port; /* exception port */
        thread_state_flavor_t   flavor;         /* state flavor to send */
        exception_behavior_t    behavior;       /* exception type to raise */
        boolean_t               privileged;     /* survives ipc_task_reset */
-       struct label            *label;         /* MAC label associated with action */
+       struct label            * XNU_PTRAUTH_SIGNED_PTR("exception_action.label") label; /* MAC label associated with action */
 };
 
+/* Initialize global state needed for exceptions. */
+extern void exception_init(void);
+
 /* Make an up-call to a thread's exception server */
 extern kern_return_t exception_triage(
        exception_type_t        exception,