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
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
04641948
Commit
04641948
authored
Jan 31, 2017
by
Treehugger Robot
Committed by
Gerrit Code Review
Jan 31, 2017
Browse files
Options
Downloads
Plain Diff
Merge "recovery: Allow accessing sysfs_leds."
parents
81a73508
f0f4db9f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/recovery.te
+6
-0
6 additions, 0 deletions
public/recovery.te
with
6 additions
and
0 deletions
public/recovery.te
+
6
−
0
View file @
04641948
...
@@ -56,6 +56,12 @@ recovery_only(`
...
@@ -56,6 +56,12 @@ recovery_only(`
allow recovery sysfs_batteryinfo:file r_file_perms;
allow recovery sysfs_batteryinfo:file r_file_perms;
# Read from /sys/class/leds/lcd-backlight/max_brightness and write to /s/c/l/l/brightness to
# control backlight brightness.
allow recovery sysfs_leds:dir r_dir_perms;
allow recovery sysfs_leds:file rw_file_perms;
allow recovery sysfs_leds:lnk_file read;
allow recovery kernel:system syslog_read;
allow recovery kernel:system syslog_read;
# Access /dev/usb-ffs/adb/ep0
# Access /dev/usb-ffs/adb/ep0
...
...
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