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
0d178e39
Commit
0d178e39
authored
Oct 15, 2017
by
Jeff Vander Stoep
Committed by
android-build-merger
Oct 15, 2017
Browse files
Options
Downloads
Plain Diff
Merge "shell: allow reading battery info dirs in /sys" am:
71955fc7
am:
cf013954
am:
15a7934c
am:
58dca3b5
Change-Id: I59fcb3d24e980bf3d538bf960918b8dc94e03929
parents
1c166c6d
58dca3b5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/shell.te
+2
-1
2 additions, 1 deletion
public/shell.te
with
2 additions
and
1 deletion
public/shell.te
+
2
−
1
View file @
0d178e39
...
@@ -142,8 +142,9 @@ allow shell bootchart_data_file:file create_file_perms;
...
@@ -142,8 +142,9 @@ allow shell bootchart_data_file:file create_file_perms;
allow shell self:process ptrace;
allow shell self:process ptrace;
# allow shell to get battery info
# allow shell to get battery info
allow shell sysfs_batteryinfo:file r_file_perms;
allow shell sysfs:dir r_dir_perms;
allow shell sysfs:dir r_dir_perms;
allow shell sysfs_batteryinfo:dir r_dir_perms;
allow shell sysfs_batteryinfo:file r_file_perms;
# Allow access to ion memory allocation device.
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
allow shell ion_device:chr_file rw_file_perms;
...
...
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