Page MenuHomePhabricator

[sanitizer] Don't call task_for_pid(mach_task_self). NFC.

Authored by kubamracek on Aug 22 2018, 12:09 PM.



Calling task_for_pid with mach_task_self is just returning mach_task_self anyway, but it also triggers system warnings (task_for_pid is only supposed to be used by high-privileged executables). NFC.


Diff Detail

Event Timeline

kubamracek created this revision.Aug 22 2018, 12:09 PM
Herald added a subscriber: Restricted Project. · View Herald TranscriptAug 22 2018, 12:09 PM
vitalybuka accepted this revision.Aug 22 2018, 5:31 PM
This revision is now accepted and ready to land.Aug 22 2018, 5:31 PM
fjricci accepted this revision.Aug 23 2018, 5:20 AM
This revision was automatically updated to reflect the committed changes.