Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_sepolicy
Commits
6736bac2
Commit
6736bac2
authored
11 years ago
by
Jeff Sharkey
Committed by
Jeff Sharkey
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Define types for an OEM-provided filesystem.
Bug: 13340779 Change-Id: I6151b6b61ddf90327d51815d13fd65be561be587
parent
fd783d1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app.te
app.te
+4
-0
file.te
file.te
+1
-0
No files found.
app.te
View file @
6736bac2
...
...
@@ -52,6 +52,10 @@ allow appdomain app_data_file:notdevfile_class_set create_file_perms;
allow appdomain system_data_file:dir r_dir_perms;
allow appdomain system_data_file:file { execute execute_no_trans open };
# Access to OEM provided data and apps
allow appdomain oemfs:dir r_dir_perms;
allow appdomain oemfs:file rx_file_perms;
# Execute the shell or other system executables.
allow appdomain shell_exec:file rx_file_perms;
allow appdomain system_file:file rx_file_perms;
...
...
This diff is collapsed.
Click to expand it.
file.te
View file @
6736bac2
...
...
@@ -33,6 +33,7 @@ type sdcard_external, sdcard_type, fs_type, mlstrustedobject;
type debugfs, fs_type, mlstrustedobject;
type pstorefs, fs_type;
type functionfs, fs_type;
type oemfs, fs_type;
# File types
type unlabeled, file_type;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment