#include <mach/vfs_nspace_server.h>
mach/vfs_nspace_server.h
macro_vfs_nspace_server_
#define _vfs_nspace_server_
functionreceive_nspace_handle
extern MIG_SERVER_ROUTINE kern_return_t receive_nspace_handle( mach_port_t nspace_handler_port, uint32_t pid, vfs_path_t path, int *handler_error )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_nspace_handle: handles the namespace event for path on behalf of process pid and returns an errno-style result through handler_error.
functionreceive_nspace_resolve_cancel
extern MIG_SERVER_ROUTINE kern_return_t receive_nspace_resolve_cancel( mach_port_t nspace_handler_port, uint32_t req_id )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_nspace_resolve_cancel: informs the resolver that resolve request req_id was canceled.
functionreceive_nspace_resolve_path
extern MIG_SERVER_ROUTINE kern_return_t receive_nspace_resolve_path( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t pid, uint32_t op, nspace_path_t path, int *resolve_error )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_nspace_resolve_path: resolves path for process pid with operation op under request id req_id, returning an errno-style result through resolve_error.
functionreceive_vfs_resolve_file
extern MIG_SERVER_ROUTINE kern_return_t receive_vfs_resolve_file( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t pid, uint32_t op, int64_t offset, int64_t size, nspace_path_t path )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of the deprecated send_vfs_resolve_file: materializes/resolves the dataless file at path for process pid, given operation op and the offset and size of the faulting access.
functionreceive_vfs_resolve_dir
extern MIG_SERVER_ROUTINE kern_return_t receive_vfs_resolve_dir( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t pid, uint32_t op, nspace_name_t file_name, nspace_path_t path )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of the deprecated send_vfs_resolve_dir: resolves directory entry file_name within the dataless directory at path for process pid with operation op.
functionreceive_vfs_resolve_file_with_audit_token
extern MIG_SERVER_ROUTINE kern_return_t receive_vfs_resolve_file_with_audit_token( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t op, int64_t offset, int64_t size, nspace_path_t path, audit_token_t req_atoken, audit_token_t atoken )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_vfs_resolve_file_with_audit_token: materializes/resolves the dataless file at path, given operation op, the faulting offset and size, the requester's audit token (req_atoken), and the sender's audit token (atoken) for verifying the request came from the kernel.
functionreceive_vfs_resolve_dir_with_audit_token
extern MIG_SERVER_ROUTINE kern_return_t receive_vfs_resolve_dir_with_audit_token( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t op, nspace_name_t file_name, nspace_path_t path, audit_token_t req_atoken, audit_token_t atoken )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_vfs_resolve_dir_with_audit_token: resolves directory entry file_name within the dataless directory at path with operation op, given the requester's audit token (req_atoken) and the sender's audit token (atoken).
functionreceive_vfs_resolve_reparent_with_audit_token
extern MIG_SERVER_ROUTINE kern_return_t receive_vfs_resolve_reparent_with_audit_token( mach_port_t nspace_handler_port, uint32_t req_id, uint32_t op, nspace_path_t path, nspace_path_t dest_path, audit_token_t req_atoken, audit_token_t atoken )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Server-interface routine (ServerPrefix receive_) of the vfs_nspace MIG subsystem (subsystem id 867800), implemented by the user-space namespace resolver and invoked by vfs_nspace_server. Counterpart of send_vfs_resolve_reparent_with_audit_token: resolves a reparent of path to dest_path with operation op, given the requester's audit token (req_atoken) and the sender's audit token (atoken).
functionvfs_nspace_server
extern boolean_t vfs_nspace_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/vfs_nspace.defs
MIG-generated demultiplexer for the vfs_nspace subsystem (osfmk/mach/vfs_nspace.defs). If the request message at InHeadP belongs to the subsystem, calls the matching handler (receive_nspace_handle, receive_nspace_resolve_cancel, receive_nspace_resolve_path, receive_vfs_resolve_file, receive_vfs_resolve_dir, and the _with_audit_token variants), 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.
functionvfs_nspace_server_routine
extern mig_routine_t vfs_nspace_server_routine(mach_msg_header_t *InHeadP)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/vfs_nspace.defs
Returns the MIG dispatch function for the vfs_nspace 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.
structreceive_vfs_nspace_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[8] | routine |
variablereceive_vfs_nspace_subsystem
extern const struct receive_vfs_nspace_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[8]; } receive_vfs_nspace_subsystem