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
b16aaef3
Commit
b16aaef3
authored
8 years ago
by
Jeff Sharkey
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Grant kernel access to new "virtual_disk" file. am:
3f724c95
am:
92229884
am:
a4960ef9
Change-Id: Ia6fbb2aae4d5c66e868e43b279748a7a96ae3bf7
parents
581bd544
a4960ef9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/kernel.te
+3
-0
3 additions, 0 deletions
public/kernel.te
public/vold.te
+2
-2
2 additions, 2 deletions
public/vold.te
with
5 additions
and
2 deletions
public/kernel.te
+
3
−
0
View file @
b16aaef3
...
...
@@ -73,6 +73,9 @@ userdebug_or_eng(`
allow kernel media_rw_data_file:dir create_dir_perms;
allow kernel media_rw_data_file:file create_file_perms;
# Access to /data/misc/vold/virtual_disk.
allow kernel vold_data_file:file read;
###
### neverallow rules
###
...
...
This diff is collapsed.
Click to expand it.
public/vold.te
+
2
−
2
View file @
b16aaef3
...
...
@@ -175,9 +175,9 @@ allow vold user_profile_data_file:dir create_dir_perms;
allow vold misc_block_device:blk_file w_file_perms;
neverallow { domain -vold } vold_data_file:dir ~{ open create read getattr setattr search relabelto ioctl };
neverallow { domain -vold } vold_data_file:notdevfile_class_set ~{ relabelto getattr };
neverallow { domain -vold
-kernel
} vold_data_file:notdevfile_class_set ~{ relabelto getattr };
neverallow { domain -vold -init } vold_data_file:dir *;
neverallow { domain -vold -init } vold_data_file:notdevfile_class_set *;
neverallow { domain -vold -init
-kernel
} vold_data_file:notdevfile_class_set *;
neverallow { domain -vold -init } restorecon_prop:property_service set;
neverallow vold fsck_exec:file execute_no_trans;
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