Skip to content
Snippets Groups Projects
Commit 069f3cff authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

ephemeral_app: disallow access to qtaguid files

Apps targeting API version 28+ are not allowed to access:
/proc/xt_qtaguid/*
/dev/xt_qtaguid

Instant apps should also be excluded from access.

Fixes: 92796393
Test: make -j cts_instant
    cts-instant-tradefed run commandAndExit cts-instant-dev \
    -m CtsPermissionTestCases \
    --test android.permission.cts.FileSystemPermissionTest

Change-Id: Ifa27f6a3fad9227d4df1bf50a5120a4c36422ff7
Merged-In: I7e49f796a25cf68bc698c6c9206e24af3ae11457
parent e5cc744d
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,6 @@ userdebug_or_eng(` ...@@ -178,7 +178,6 @@ userdebug_or_eng(`
allow { allow {
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
...@@ -190,7 +189,6 @@ r_dir_file({ appdomain -ephemeral_app -isolated_app }, proc_net) ...@@ -190,7 +189,6 @@ r_dir_file({ appdomain -ephemeral_app -isolated_app }, proc_net)
r_dir_file({ r_dir_file({
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
...@@ -201,7 +199,6 @@ r_dir_file({ ...@@ -201,7 +199,6 @@ r_dir_file({
allow { allow {
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
......
...@@ -178,7 +178,6 @@ userdebug_or_eng(` ...@@ -178,7 +178,6 @@ userdebug_or_eng(`
allow { allow {
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
...@@ -190,7 +189,6 @@ r_dir_file({ appdomain -ephemeral_app -isolated_app }, proc_net) ...@@ -190,7 +189,6 @@ r_dir_file({ appdomain -ephemeral_app -isolated_app }, proc_net)
r_dir_file({ r_dir_file({
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
...@@ -201,7 +199,6 @@ r_dir_file({ ...@@ -201,7 +199,6 @@ r_dir_file({
allow { allow {
untrusted_app_25 untrusted_app_25
untrusted_app_27 untrusted_app_27
ephemeral_app
priv_app priv_app
system_app system_app
platform_app platform_app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment