Merge "Allow gmscore to ptrace itself"
This commit is contained in:
commit
a5328d2614
2 changed files with 7 additions and 0 deletions
|
@ -67,6 +67,9 @@ dontaudit gmscore_app { wifi_prop exported_wifi_prop }:file r_file_perms;
|
|||
# Access the network
|
||||
net_domain(gmscore_app)
|
||||
|
||||
# webview crash handling depends on self ptrace (b/27697529, b/20150694, b/19277529#comment7)
|
||||
allow gmscore_app self:process ptrace;
|
||||
|
||||
# Allow loading executable code from writable priv-app home
|
||||
# directories. This is a W^X violation, however, it needs
|
||||
# to be supported for now for the following reasons.
|
||||
|
|
|
@ -16,6 +16,10 @@ create_pty(priv_app)
|
|||
|
||||
# webview crash handling depends on self ptrace (b/27697529, b/20150694, b/19277529#comment7)
|
||||
allow priv_app self:process ptrace;
|
||||
# b/142672293: No other priv-app should need this allow rule now that GMS core runs in its own domain.
|
||||
userdebug_or_eng(`
|
||||
auditallow priv_app self:process ptrace;
|
||||
')
|
||||
|
||||
# Allow loading executable code from writable priv-app home
|
||||
# directories. This is a W^X violation, however, it needs
|
||||
|
|
Loading…
Reference in a new issue