Function - Create a new task with an explicit security token.
kern_return_t host_security_create_task_token
(host_security_t host_security,
task_t parent_task,
security_token_t security_token,
audit_token_t audit_token,
ledger_port_array_t ledgers,
boolean_t inherit_memory,
task_t child_task);
The host_security_create_task_token function creates a new task from
parent_task with explicit security and audit token values, returning the name of the
new task in the parameter specified by child_task. Other than the security and audit token values, the child task
is as if created by task_create.
The host security port is a privileged port given to the system
bootstrap task for the use of this call.
Functions:
task_create,
host_security_set_task_token,
mach_msg.
NOTES
RETURN VALUES
RELATED INFORMATION