title: task_for_pid stops working on OS X 10.11
body: <p>I am using mach_inject to do some code injection work, but when I upgrade to the latest OS X 10.11 it stops working, and I trace that it's caused by failed execution of task_for_pid, return value is 5.
  andy idea how to fix this?
  Thanks</p>