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
faf1dbcf
Commit
faf1dbcf
authored
7 years ago
by
Tri Vo
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "charger: read permissions to /sys/power/state" am:
07195bb6
am:
a7c29d41
am:
b44da22c
Change-Id: I9a24e22b55d3191537af345597076b7b3cb931bf
parents
1f61056d
b44da22c
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/charger.te
+2
-2
2 additions, 2 deletions
public/charger.te
with
2 additions
and
2 deletions
public/charger.te
+
2
−
2
View file @
faf1dbcf
...
@@ -17,8 +17,8 @@ wakelock_use(charger)
...
@@ -17,8 +17,8 @@ wakelock_use(charger)
allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
#
W
rite to /sys/power/state
#
Read/w
rite to /sys/power/state
allow charger sysfs_power:file
write
;
allow charger sysfs_power:file
rw_file_perms
;
allow charger sysfs_batteryinfo:file r_file_perms;
allow charger sysfs_batteryinfo:file r_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