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
cbd85e53
Commit
cbd85e53
authored
7 years ago
by
Primiano Tucci
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Revert "perfetto: allow traced_probes to execute atrace""
parents
3538fc3d
70f8f329
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
private/traced_probes.te
+0
-21
0 additions, 21 deletions
private/traced_probes.te
with
0 additions
and
21 deletions
private/traced_probes.te
+
0
−
21
View file @
cbd85e53
...
@@ -35,27 +35,6 @@ allow traced_probes kmsg_device:chr_file write;
...
@@ -35,27 +35,6 @@ allow traced_probes kmsg_device:chr_file write;
# Allow traced_probes to list the system partition.
# Allow traced_probes to list the system partition.
allow traced_probes system_file:dir { open read };
allow traced_probes system_file:dir { open read };
# ----- Begin of policies for exec(atrace) -----
# Allow traced_probes to run atrace. atrace pokes at system services to enable
# their userspace TRACE macros.
allow traced_probes atrace_exec:file rx_file_perms;
# This is needed for: path="/system/bin/linker64"
# scontext=u:r:atrace:s0 tcontext=u:r:traced_probes:s0 tclass=fd
allow atrace traced_probes:fd use;
# atrace sets debug.atrace.* properties to tell services to enable their
# userspace tracing.
set_prop(traced_probes, debug_prop)
# And then sends them an IPC to tell them to re-read that property.
binder_use(traced_probes)
allow traced_probes healthd:binder call;
allow traced_probes surfaceflinger:binder call;
get_prop(traced_probes, hwservicemanager_prop)
# ----- End of policies for exec(atrace) -----
###
###
### Neverallow rules
### Neverallow rules
###
###
...
...
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