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
3e6f1f86
Commit
3e6f1f86
authored
8 years ago
by
Daniel Rosenberg
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Move sdcardfs media_rw_data_file rules to app.te am:
2a0053b2
am:
6ea1ad51
am:
506c7c1b
Change-Id: I6747d2593374612e64f40774076d85cea14a211e
parents
06752552
506c7c1b
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
public/app.te
+4
-0
4 additions, 0 deletions
public/app.te
public/bluetooth.te
+0
-6
0 additions, 6 deletions
public/bluetooth.te
public/shell.te
+0
-6
0 additions, 6 deletions
public/shell.te
with
4 additions
and
12 deletions
public/app.te
+
4
−
0
View file @
3e6f1f86
...
@@ -188,6 +188,10 @@ allow { appdomain -isolated_app } fuse:dir create_dir_perms;
...
@@ -188,6 +188,10 @@ allow { appdomain -isolated_app } fuse:dir create_dir_perms;
allow { appdomain -isolated_app } fuse:file create_file_perms;
allow { appdomain -isolated_app } fuse:file create_file_perms;
allow { appdomain -isolated_app } sdcardfs:dir create_dir_perms;
allow { appdomain -isolated_app } sdcardfs:dir create_dir_perms;
allow { appdomain -isolated_app } sdcardfs:file create_file_perms;
allow { appdomain -isolated_app } sdcardfs:file create_file_perms;
# This should be removed if sdcardfs is modified to alter the secontext for its
# accesses to the underlying FS.
allow { appdomain -isolated_app } media_rw_data_file:dir create_dir_perms;
allow { appdomain -isolated_app } media_rw_data_file:file create_file_perms;
# Access OBBs (vfat images) mounted by vold (b/17633509)
# Access OBBs (vfat images) mounted by vold (b/17633509)
# File write access allowed for FDs returned through Storage Access Framework
# File write access allowed for FDs returned through Storage Access Framework
...
...
This diff is collapsed.
Click to expand it.
public/bluetooth.te
+
0
−
6
View file @
3e6f1f86
...
@@ -58,12 +58,6 @@ unix_socket_connect(bluetooth, sap_uim, rild)
...
@@ -58,12 +58,6 @@ unix_socket_connect(bluetooth, sap_uim, rild)
# /data/data/com.android.shell/files/bugreports/bugreport-*.
# /data/data/com.android.shell/files/bugreports/bugreport-*.
allow bluetooth shell_data_file:file read;
allow bluetooth shell_data_file:file read;
# Access to /data/media.
# This should be removed if sdcardfs is modified to alter the secontext for its
# accesses to the underlying FS.
allow bluetooth media_rw_data_file:dir create_dir_perms;
allow bluetooth media_rw_data_file:file create_file_perms;
###
###
### Neverallow rules
### Neverallow rules
###
###
...
...
This diff is collapsed.
Click to expand it.
public/shell.te
+
0
−
6
View file @
3e6f1f86
...
@@ -129,12 +129,6 @@ allow shell sysfs:dir r_dir_perms;
...
@@ -129,12 +129,6 @@ allow shell sysfs:dir r_dir_perms;
# Allow access to ion memory allocation device.
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
allow shell ion_device:chr_file rw_file_perms;
# Access to /data/media.
# This should be removed if sdcardfs is modified to alter the secontext for its
# accesses to the underlying FS.
allow shell media_rw_data_file:dir create_dir_perms;
allow shell media_rw_data_file:file create_file_perms;
#
#
# filesystem test for insecure chr_file's is done
# filesystem test for insecure chr_file's is done
# via a host side test
# via a host side test
...
...
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