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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
fb3fda0e
Commit
fb3fda0e
authored
7 years ago
by
Steven Moreland
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Permissions for screencap saving files to /sdcard/
am:
c12c7349
Change-Id: I419f605b03d497d3babd09651b977bc065677c71
parents
bf8f979f
c12c7349
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/screencap.te
+16
-2
16 additions, 2 deletions
private/screencap.te
private/system_server.te
+1
-0
1 addition, 0 deletions
private/system_server.te
with
17 additions
and
2 deletions
private/screencap.te
+
16
−
2
View file @
fb3fda0e
...
@@ -8,7 +8,7 @@ allow screencap ion_device:chr_file rw_file_perms;
...
@@ -8,7 +8,7 @@ allow screencap ion_device:chr_file rw_file_perms;
allow screencap adbd:fifo_file write;
allow screencap adbd:fifo_file write;
allow screencap adbd:fd use;
allow screencap adbd:fd use;
allow screencap adbd:unix_stream_socket { read write };
allow screencap adbd:unix_stream_socket { read write
getattr ioctl
};
allow screencap shell_data_file:file write;
allow screencap shell_data_file:file write;
allow screencap shell:fd use;
allow screencap shell:fd use;
...
@@ -20,7 +20,21 @@ allow screencap dumpstate:unix_stream_socket { read write };
...
@@ -20,7 +20,21 @@ allow screencap dumpstate:unix_stream_socket { read write };
binder_use(screencap)
binder_use(screencap)
binder_call(screencap, surfaceflinger)
binder_call(screencap, surfaceflinger)
allow screencap surfaceflinger_service:service_manager find;
allow screencap surfaceflinger_service:service_manager find;
allow screencap surfaceflinger:fd use;
binder_call(screencap, system_server)
allow screencap activity_service:service_manager find;
hwbinder_use(screencap)
hwbinder_use(screencap)
hal_client_domain(screencap, hal_graphics_allocator)
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
+
1
−
0
View file @
fb3fda0e
...
@@ -178,6 +178,7 @@ binder_call(system_server, gatekeeperd)
...
@@ -178,6 +178,7 @@ binder_call(system_server, gatekeeperd)
binder_call(system_server, installd)
binder_call(system_server, installd)
binder_call(system_server, incidentd)
binder_call(system_server, incidentd)
binder_call(system_server, netd)
binder_call(system_server, netd)
binder_call(system_server, screencap)
binder_call(system_server, wificond)
binder_call(system_server, wificond)
binder_service(system_server)
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