Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
b78af6cd
Commit
b78af6cd
authored
6 years ago
by
Hector Dearman
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow adb root to send config to perfetto"
parents
5a6d94bc
3fa4ac55
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
private/perfetto.te
+5
-6
5 additions, 6 deletions
private/perfetto.te
with
5 additions
and
6 deletions
private/perfetto.te
+
5
−
6
View file @
b78af6cd
...
@@ -20,12 +20,11 @@ binder_use(perfetto)
...
@@ -20,12 +20,11 @@ binder_use(perfetto)
binder_call(perfetto, system_server)
binder_call(perfetto, system_server)
allow perfetto dropbox_service:service_manager find;
allow perfetto dropbox_service:service_manager find;
# Allow statsd and shell to pipe the trace config to perfetto on stdin and to
# Allow perfetto to read the trace config from statsd and shell
# print out on stdout/stderr.
# (both root and non-root) on stdin and also to write the resulting trace to
allow perfetto statsd:fd use;
# stdout.
allow perfetto statsd:fifo_file { getattr read write };
allow perfetto { statsd shell su }:fd use;
allow perfetto shell:fd use;
allow perfetto { statsd shell su }:fifo_file { getattr read write };
allow perfetto shell:fifo_file { getattr read write };
# Allow to communicate use, read and write over the adb connection.
# Allow to communicate use, read and write over the adb connection.
allow perfetto adbd:fd use;
allow perfetto adbd:fd use;
...
...
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