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
a9167cd4
Commit
a9167cd4
authored
7 years ago
by
Steven Moreland
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Revert "Permissions for screencap saving files to /sdcard/" am:
f606a51e
am:
fa459fc9
Change-Id: I87720d8b06b64a71e36f17a0f1a8ee067737d022
parents
0da31479
fa459fc9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/screencap.te
+2
-16
2 additions, 16 deletions
private/screencap.te
private/system_server.te
+0
-1
0 additions, 1 deletion
private/system_server.te
with
2 additions
and
17 deletions
private/screencap.te
+
2
−
16
View file @
a9167cd4
...
...
@@ -8,7 +8,7 @@ allow screencap ion_device:chr_file rw_file_perms;
allow screencap adbd:fifo_file write;
allow screencap adbd:fd use;
allow screencap adbd:unix_stream_socket { read write
getattr ioctl
};
allow screencap adbd:unix_stream_socket { read write };
allow screencap shell_data_file:file write;
allow screencap shell:fd use;
...
...
@@ -20,21 +20,7 @@ allow screencap dumpstate:unix_stream_socket { read write };
binder_use(screencap)
binder_call(screencap, surfaceflinger)
allow screencap surfaceflinger_service:service_manager find;
binder_call(screencap, system_server)
allow screencap activity_service:service_manager find;
allow screencap surfaceflinger:fd use;
hwbinder_use(screencap)
hal_client_domain(screencap, hal_graphics_allocator)
allow screencap shell_exec:file rx_file_perms;
allow screencap system_file:file execute_no_trans;
allow screencap media_rw_data_file:dir rw_dir_perms;
allow screencap media_rw_data_file:file rw_file_perms;
allow screencap mnt_user_file:dir search;
allow screencap mnt_user_file:lnk_file read;
allow screencap sdcardfs:dir { search write };
allow screencap sdcardfs:file { open write };
allow screencap storage_file:dir search;
allow screencap storage_file:lnk_file read;
allow screencap tmpfs:dir search;
This diff is collapsed.
Click to expand it.
private/system_server.te
+
0
−
1
View file @
a9167cd4
...
...
@@ -178,7 +178,6 @@ binder_call(system_server, gatekeeperd)
binder_call(system_server, installd)
binder_call(system_server, incidentd)
binder_call(system_server, netd)
binder_call(system_server, screencap)
binder_call(system_server, wificond)
binder_service(system_server)
...
...
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