Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
0da31479
Commit
0da31479
authored
7 years ago
by
Steven Moreland
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Revert "Add permissions for screencap for dumpstate." am:
9c571765
am:
9e0ca36c
Change-Id: I695689149665bd71be9b1a986c52d5c3035ec337
parents
221987c8
9e0ca36c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/screencap.te
+1
-2
1 addition, 2 deletions
private/screencap.te
public/domain.te
+0
-3
0 additions, 3 deletions
public/domain.te
public/screencap.te
+0
-1
0 additions, 1 deletion
public/screencap.te
with
1 addition
and
6 deletions
private/screencap.te
+
1
−
2
View file @
0da31479
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;
This diff is collapsed.
Click to expand it.
public/domain.te
+
0
−
3
View file @
0da31479
...
@@ -925,7 +925,6 @@ neverallow {
...
@@ -925,7 +925,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;
...
@@ -937,7 +936,6 @@ neverallow {
...
@@ -937,7 +936,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 };
...
@@ -950,7 +948,6 @@ neverallow {
...
@@ -950,7 +948,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;
...
...
This diff is collapsed.
Click to expand it.
public/screencap.te
deleted
100644 → 0
+
0
−
1
View file @
221987c8
type screencap, domain;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment