forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stack trace symbolization for Chrome sandbox processes.
Patching the POSIX implementation of base::debug::StackTrace to properly symbolize stack traces when used in Chrome sandbox processes. The main reason symbolization doesn't work today is because sandboxed processes cannot open proc/self/maps and the object files that contain the symbols. The proposed solution is to open all necessary files before enabling the sandbox and then keep their file descriptors around for the duration of the sandboxed process. This cannot be done in shipping/retail builds because it has security implications so for the time being this code will run only in DEBUG builds of Chrome. Originally, the code review was started under a different account. For more information take a look at: https://codereview.chromium.org/156043003/ BUG=341966 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258548 Review URL: https://codereview.chromium.org/184273012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258719 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
ivanpe@google.com
committed
Mar 22, 2014
1 parent
f3357cb
commit ad9a012
Showing
6 changed files
with
322 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.