Function - Acquire a send right for a specified node-specific special port.
kern_return_t norma_get_special_port
(host_priv_t host_priv,
int node,
int which_port,
mach_port_t special_port);
#include<mach/norma_special_ports.h>
kern_return_t norma_get_device_port
(host_priv_t host_priv,
int node,
mach_port_t special_port);
kern_return_t norma_get_host_port
(host_priv_t host_priv,
int node,
mach_port_t special_port);
kern_return_t norma_get_host_priv_port
(host_priv_t host_priv,
int node,
mach_port_t special_port);
kern_return_t norma_get_nameserver_port
(host_priv_t host_priv,
int node,
mach_port_t special_port);
The norma_get_special_port function returns a send right for a special port belonging to node on host_priv.
Each node maintains a (small) set of node specific ports. The device master port, host name, and host control ports are maintained by the kernel. The kernel also permits a small set of server specified node specific ports; the name server port is an example and is given (by convention) an assigned special port index.
Only generic errors apply.
Functions: mach_host_self, norma_get_special_port, bootstrap_ports.