Function - Return send rights to the system's control ports.
kern_return_t bootstrap_ports (mach_port_t bootstrap, bootstrap host_control, host_control device_master, device_master root_wired_ledger, root_wired_ledger root_paged_ledger, bootstrap security);
The bootstrap_ports function returns a send right to the host control, root ledger, host security and device master ports. The kernel will respond to this message on the TASK_BOOTSTRAP_PORT given to the system bootstrap task (task 1) with the system privileged ports. It is the responsibility of the bootstrap task to manage the distribution of these rights to other servers.
An OS personality can serve as a server on the TASK_BOOTSTRAP_PORT for tasks or servers that it manages, and can regulate or interpose on the ports in any way it deems necessary.
Only generic errors apply.
Functions: device_open, host_get_clock_control, host_get_clock_service, host_processor_set_priv, host_processors, ledger_create, task_set_security_token.