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
581bd544
Commit
581bd544
authored
7 years ago
by
Jeff Sharkey
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Define policy for "loop-control" device." am:
2224f30a
am:
a6152592
am:
d33a51c3
Change-Id: Ife99cd6fc85b77ea77ca1edc9a8c741ee0d204ee
parents
0f40a5dc
d33a51c3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
public/device.te
+1
-0
1 addition, 0 deletions
public/device.te
public/vold.te
+1
-0
1 addition, 0 deletions
public/vold.te
with
3 additions
and
0 deletions
private/file_contexts
+
1
−
0
View file @
581bd544
...
...
@@ -92,6 +92,7 @@
/dev/keychord u:object_r:keychord_device:s0
/dev/kmem u:object_r:kmem_device:s0
/dev/log(/.*)? u:object_r:log_device:s0
/dev/loop-control u:object_r:loop_control_device:s0
/dev/mem u:object_r:kmem_device:s0
/dev/modem.* u:object_r:radio_device:s0
/dev/mtd(/.*)? u:object_r:mtd_device:s0
...
...
This diff is collapsed.
Click to expand it.
public/device.te
+
1
−
0
View file @
581bd544
...
...
@@ -12,6 +12,7 @@ type block_device, dev_type;
type camera_device, dev_type;
type dm_device, dev_type;
type keychord_device, dev_type;
type loop_control_device, dev_type;
type loop_device, dev_type;
type pmsg_device, dev_type, mlstrustedobject;
type radio_device, dev_type;
...
...
This diff is collapsed.
Click to expand it.
public/vold.te
+
1
−
0
View file @
581bd544
...
...
@@ -64,6 +64,7 @@ allow vold self:capability { net_admin dac_override mknod sys_admin chown fowner
allow vold self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow vold app_data_file:dir search;
allow vold app_data_file:file rw_file_perms;
allow vold loop_control_device:chr_file rw_file_perms;
allow vold loop_device:blk_file { create setattr unlink rw_file_perms };
allow vold vold_device:blk_file { create setattr unlink rw_file_perms };
allow vold dm_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