Skip to content
Snippets Groups Projects
Commit 9c571765 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "Add permissions for screencap for dumpstate."

This reverts commit b5dd44b1.

Bug: 65206688

Change-Id: I00431ae7834a562e34e8959446d84a0077834091
parent b5dd44b1
No related branches found
No related tags found
No related merge requests found
type screencap, domain;
type screencap_exec, exec_type, file_type; type screencap_exec, exec_type, file_type;
typeattribute screencap coredomain; typeattribute screencap coredomain;
...@@ -34,8 +35,6 @@ allow screencap mnt_user_file:dir search; ...@@ -34,8 +35,6 @@ allow screencap mnt_user_file:dir search;
allow screencap mnt_user_file:lnk_file read; allow screencap mnt_user_file:lnk_file read;
allow screencap sdcardfs:dir { search write }; allow screencap sdcardfs:dir { search write };
allow screencap sdcardfs:file { open write }; allow screencap sdcardfs:file { open write };
allow screencap shell_data_file:file create_file_perms;
allow screencap shell_data_file:dir rw_dir_perms;
allow screencap storage_file:dir search; allow screencap storage_file:dir search;
allow screencap storage_file:lnk_file read; allow screencap storage_file:lnk_file read;
allow screencap tmpfs:dir search; allow screencap tmpfs:dir search;
...@@ -924,7 +924,6 @@ neverallow { ...@@ -924,7 +924,6 @@ neverallow {
-dumpstate -dumpstate
-installd -installd
-init -init
-screencap
-shell -shell
-vold -vold
} shell_data_file:dir no_w_dir_perms; } shell_data_file:dir no_w_dir_perms;
...@@ -936,7 +935,6 @@ neverallow { ...@@ -936,7 +935,6 @@ neverallow {
-dumpstate -dumpstate
-init -init
-installd -installd
-screencap
-system_server # why? -system_server # why?
userdebug_or_eng(`-uncrypt') userdebug_or_eng(`-uncrypt')
} shell_data_file:dir { open search }; } shell_data_file:dir { open search };
...@@ -949,7 +947,6 @@ neverallow { ...@@ -949,7 +947,6 @@ neverallow {
-appdomain -appdomain
-dumpstate -dumpstate
-installd -installd
-screencap
userdebug_or_eng(`-uncrypt') userdebug_or_eng(`-uncrypt')
} shell_data_file:file open; } shell_data_file:file open;
......
type screencap, domain;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment