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
6c467309
Commit
6c467309
authored
7 years ago
by
Alan Stokes
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow init to create & write to vibrator/trigger." am:
6ffa76ea
am:
04b800ed
am:
523c4913
Change-Id: I77376c86b0fc38c5214fb26fa6c13339e3646dc9
parents
396c362e
523c4913
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/init.te
+8
-0
8 additions, 0 deletions
public/init.te
with
8 additions
and
0 deletions
public/init.te
+
8
−
0
View file @
6c467309
...
...
@@ -320,6 +320,14 @@ allow init {
sysfs_zram
}:file rw_file_perms;
# Allow init to write to vibrator/trigger
allow init sysfs_vibrator:file w_file_perms;
# Creating files on sysfs is impossible so this isn't a threat.
# We may write to a non-existent file to avoid conditional
# init behavior.
dontaudit init sysfs_vibrator:dir write;
# init chmod/chown access to /sys files.
allow init {
sysfs_android_usb
...
...
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