Mark Mentovai de3c46c6b3 Add TaskForPID().
This also transitions exception_port_tool to use TaskForPID(), so that
it can be safely used as a setuid executable without giving permission
to operate on any process on the system.

It is difficult to provide a test for this function, because it must be
running setuid root in order to do anything interesting.

R=rsesek@chromium.org

Review URL: https://codereview.chromium.org/728973002
2014-11-14 17:56:17 -05:00
..
2014-10-14 11:10:45 -04:00
2014-10-14 11:10:45 -04:00
2014-11-14 17:56:17 -05:00
2014-11-14 17:56:17 -05:00
2014-10-14 11:10:45 -04:00