• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Questions about task_create
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Questions about task_create
      • From: José Cornado <email@hidden>
References: 
 >Questions about task_create (From: José Cornado <email@hidden>)

  • Prev by Date: Questions about task_create
  • Next by Date: Re: Questions about task_create
  • Previous by thread: Questions about task_create
  • Next by thread: Re: Questions about task_create
  • Index(es):
    • Date
    • Thread