#include <mach/coalition_notification_server.h>

mach/coalition_notification_server.h Kernel.framework

includes: Kernel/string.h, Kernel/mach/ndr.h, Kernel/mach/boolean.h, Kernel/mach/kern_return.h, Kernel/mach/notify.h, mach/mach_types.h, mach/message.h, Kernel/mach/mig_errors.h, mach/port.h, Availability.h, Kernel/mach/std_types.h, Kernel/mach/mig.h, Kernel/mach/mig.h, mach/mach_types.h
3 macros · 3 functions · 1 struct · 1 variable

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
size 72, align 8
mig_server_routine_tserverServer routine
mach_msg_id_tstartMin routine number
mach_msg_id_tendMax routine number + 1
unsigned intmaxsizeMax msg size
vm_address_treservedReserved
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_subsystem

macrosubsystem_to_name_map_coalition_notification

#define subsystem_to_name_map_coalition_notification { "coalition_notification", 5300 }