Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 822533002: generate_dump, exception_port_tool: set SecTaskAccess allowed (Closed)

Created:
6 years ago by Mark Mentovai
Modified:
5 years, 11 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

generate_dump, exception_port_tool: set SecTaskAccess allowed. This adds an Info.plist to these two tools that use task_for_pid(). Since they’re flat unbundled executables, the Info.plist must be placed as a __TEXT,__info_plist section. By setting SecTaskAccess to allowed and signing these tools with a certificate trusted by the system, they will be allowed to use task_for_pid() without requiring the invoking user to be root. This provides an alternative to installing these tools as setuid root. R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/3ee656605175deccd14bf6a8d534f8ef55bc0003

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -8 lines) Patch
M tools/generate_dump.ad View 1 chunk +5 lines, -4 lines 0 comments Download
M tools/mac/exception_port_tool.ad View 1 chunk +5 lines, -4 lines 0 comments Download
A tools/mac/sectaskaccess_info.plist View 1 chunk +12 lines, -0 lines 0 comments Download
M tools/tools.gyp View 3 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Mark Mentovai
6 years ago (2014-12-20 17:15:18 UTC) #2
Robert Sesek
LGTM
5 years, 11 months ago (2014-12-30 16:26:09 UTC) #3
Mark Mentovai
5 years, 11 months ago (2014-12-30 19:28:01 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
3ee656605175deccd14bf6a8d534f8ef55bc0003 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698