Skip to content
Snippets Groups Projects
Commit bb492424 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am ea591494: am 6736bac2: Define types for an OEM-provided filesystem.

* commit 'ea591494':
  Define types for an OEM-provided filesystem.
parents 266796eb ea591494
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,10 @@ allow appdomain app_data_file:notdevfile_class_set create_file_perms; ...@@ -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:dir r_dir_perms;
allow appdomain system_data_file:file { execute execute_no_trans open }; 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. # Execute the shell or other system executables.
allow appdomain shell_exec:file rx_file_perms; allow appdomain shell_exec:file rx_file_perms;
allow appdomain system_file:file rx_file_perms; allow appdomain system_file:file rx_file_perms;
......
...@@ -33,6 +33,7 @@ type sdcard_external, sdcard_type, fs_type, mlstrustedobject; ...@@ -33,6 +33,7 @@ type sdcard_external, sdcard_type, fs_type, mlstrustedobject;
type debugfs, fs_type, mlstrustedobject; type debugfs, fs_type, mlstrustedobject;
type pstorefs, fs_type; type pstorefs, fs_type;
type functionfs, fs_type; type functionfs, fs_type;
type oemfs, fs_type;
# File types # File types
type unlabeled, file_type; type unlabeled, file_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment