Re: Questions about task_create
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Hf9Ye9qFKD0YyVoujhXwxqN0k9Kl7ht944dgJDDw46A=; b=CR0hI/bGPBUMIPZJCJwinOmFXkK9rArrR4Z9CL46QtSrkjMGIkF76lSyJOwHMFCwp3 qmuVvJvLtyjVFsGtigmqUrLfHuldifVN0emZbiU7l3gyHqm1BPrtBgZT4FjEMshYb1z+ Y+jZJWhaeULYKtBtqe4EEfsFyN20ttW55nzGs= 2011/12/16 José Cornado <jose.cornado@gmail.com>:
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
comex