Re: Questions about task_create
Re: Questions about task_create
- Subject: Re: Questions about task_create
- From: comex <email@hidden>
- Date: Fri, 16 Dec 2011 23:08:50 -0800
2011/12/16 José Cornado <email@hidden>:
> If parent task has inherit none flag set.
>
> What happens when task_create is called? If it doesn't inherit any of the
> VM:
>
> is it created and suspended?
Nothing:
kern_return_t
task_create(
task_t parent_task,
__unused ledger_port_array_t ledger_ports,
__unused mach_msg_type_number_t num_ledger_ports,
__unused boolean_t inherit_memory,
__unused task_t *child_task) /* OUT */
{
if (parent_task == TASK_NULL)
return(KERN_INVALID_ARGUMENT);
/*
* No longer supported: too many calls assume that a task has a valid
* process attached.
*/
return(KERN_FAILURE);
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden