diff options
| author | Colin Cross <ccross@android.com> | 2017-06-13 16:41:58 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2017-06-15 13:15:09 -0700 |
| commit | 952adf44bfd1490f7fea4f5d073da6a680b834fc (patch) | |
| tree | 69dbe202b1e7a83d7183fe73c114c81ba03be1bf /base/errors_unix.cpp | |
| parent | 435baf5d00162b6f14ada5f243ae49c62714d03f (diff) | |
Add a helpful error message if GetUnreachableMemory fails
The primary reason for GetUnreachableMemory failing is selinux
blocking system apps from ptracing themselves. Add a helpful
error message suggesting setenforce 0.
Bug: 27945735
Test: dumpsys meminfo --unreachable com.android.systemui
Change-Id: Ibfa9507860be36dffd514f82027f7a2f8a72ac48
Merged-In: Ibfa9507860be36dffd514f82027f7a2f8a72ac48
(cherry picked from commit 72d3881412d012bfa06583e4b06bdff16a2e6d8e)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
