• 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: José Cornado <email@hidden>
  • Date: Sat, 17 Dec 2011 00:31:23 -0700

Thanks!

I guess the article I was reading is dated.I have couple of other avenues I could use but out of curiosity: was this api replaced by another?



2011/12/17 comex <email@hidden>
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);
}



--
José Cornado

--

home: http://www.efekctive.com
blog:   http://blogging.efekctive.com
----------------------

Everything has been said before, but since nobody listens we have to keep going back and beginning all over again.

Andre Gide
 _______________________________________________
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

References: 
 >Questions about task_create (From: José Cornado <email@hidden>)
 >Re: Questions about task_create (From: comex <email@hidden>)

  • Prev by Date: Re: Questions about task_create
  • Next by Date: Re: ipf_inject_input return error 45
  • Previous by thread: Re: Questions about task_create
  • Next by thread: Debugging a kext
  • Index(es):
    • Date
    • Thread