Skip to content
Snippets Groups Projects
Commit abead06f authored by Nick Kralevich's avatar Nick Kralevich
Browse files

allow priv_app self:process ptrace

The changes to ptrace in
https://android-review.googlesource.com/#/c/175786/ (removing it from
app.te and only adding it to isolated_app and untrusted_app) broke
WebView crash handling in cases where privileged apps (like gmscore) use
WebView.

The only way to fix this would be to allow priv_app to self-ptrace as
well. :/

Bug: 27697529
Change-Id: Ib9a3810dddc9f4213b6260133cbae23f669ae8dc
parent 1c50994e
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,9 @@ net_domain(priv_app) ...@@ -8,6 +8,9 @@ net_domain(priv_app)
# Access bluetooth. # Access bluetooth.
bluetooth_domain(priv_app) bluetooth_domain(priv_app)
# webview crash handling depends on self ptrace (b/27697529, b/20150694, b/19277529#comment7)
allow priv_app self:process ptrace;
# Some apps ship with shared libraries and binaries that they write out # Some apps ship with shared libraries and binaries that they write out
# to their sandbox directory and then execute. # to their sandbox directory and then execute.
allow priv_app app_data_file:file rx_file_perms; allow priv_app app_data_file:file rx_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment