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
6ae6fdbd
Commit
6ae6fdbd
authored
7 years ago
by
Tim Kryger
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix selinux denials during bugreport" am:
bfbe96ac
am:
4ebe609a
am:
770d5f7e
Change-Id: I8e04c8b85aa2e7d6c9f7bb545cfa6de0afdaa422
parents
5720f54f
770d5f7e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/dumpstate.te
+14
-0
14 additions, 0 deletions
public/dumpstate.te
with
14 additions
and
0 deletions
public/dumpstate.te
+
14
−
0
View file @
6ae6fdbd
...
@@ -220,6 +220,20 @@ allow dumpstate ion_device:chr_file r_file_perms;
...
@@ -220,6 +220,20 @@ allow dumpstate ion_device:chr_file r_file_perms;
# read default labeled files in /sys
# read default labeled files in /sys
r_dir_file(dumpstate, sysfs)
r_dir_file(dumpstate, sysfs)
# Allow dumpstate to run top
allow dumpstate proc_stat:file r_file_perms;
# Allow dumpstate to read backlight details
allow dumpstate sysfs_leds:lnk_file r_file_perms;
allow dumpstate sysfs_leds:file r_file_perms;
allow dumpstate sysfs_leds:dir search;
# Allow dumpstate to talk to installd over binder
binder_call(dumpstate, installd);
# Allow dumpstate to run ip xfrm policy
allow dumpstate self:netlink_xfrm_socket { create_socket_perms_no_ioctl nlmsg_read };
###
###
### 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