#include <mach/coalition_notification_server.h>
mach/coalition_notification_server.h
macro_coalition_notification_server_
#define _coalition_notification_server_
macrocoalition_notification_MSG_COUNT
#define coalition_notification_MSG_COUNT 1
functioncoalition_notification
extern MIG_SERVER_ROUTINE kern_return_t coalition_notification( mach_port_t coalition_port, uint64_t id, uint32_t flags )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/coalition_notification.defs, osfmk/kern/coalition.c
Server-interface routine of the coalition_notification MIG subsystem (subsystem id 5300), implemented by the user-space coalition manager (launchd). The kernel sends this one-way message on the host coalition port (host_get_coalition_port) when a coalition with notification enabled loses its last active task, passing the coalition id and notification flags. Sent from coalition_notify_user (osfmk/kern/coalition.c).
functioncoalition_notification_server
extern boolean_t coalition_notification_server( mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/coalition_notification.defs
MIG-generated demultiplexer for the coalition_notification subsystem (osfmk/mach/coalition_notification.defs). If the request message at InHeadP belongs to the subsystem, calls the matching handler (coalition_notification), formats the reply message at OutHeadP, and returns TRUE; returns FALSE, with a MIG_BAD_ID error reply, for messages that do not belong to the subsystem.
functioncoalition_notification_server_routine
extern mig_routine_t coalition_notification_server_routine(mach_msg_header_t *InHeadP)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/coalition_notification.defs
Returns the MIG dispatch function for the coalition_notification subsystem request whose msgh_id is found in InHeadP, or a null pointer if the message is not a request of the subsystem. Alternative to the combined demultiplexer for servers that look up and invoke the handler themselves.
structcoalition_notification_subsystem
Description of this subsystem, for use in direct RPC
| mig_server_routine_t | server | Server routine |
| mach_msg_id_t | start | Min routine number |
| mach_msg_id_t | end | Max routine number + 1 |
| unsigned int | maxsize | Max msg size |
| vm_address_t | reserved | Reserved |
| struct routine_descriptor[1] | routine |
variablecoalition_notification_subsystem
extern const struct coalition_notification_subsystem { mig_server_routine_t server; /* Server routine */ mach_msg_id_t start; /* Min routine number */ mach_msg_id_t end; /* Max routine number + 1 */ unsigned int maxsize; /* Max msg size */ vm_address_t reserved; /* Reserved */ struct routine_descriptor /* Array of routine descriptors */ routine[1]; } coalition_notification_subsystemmacrosubsystem_to_name_map_coalition_notification
#define subsystem_to_name_map_coalition_notification { "coalition_notification", 5300 }