Skip to content
Snippets Groups Projects
Commit db9dd501 authored by Stephen Smalley's avatar Stephen Smalley Committed by Android Git Automerger
Browse files

am 411d940e: am 527316a2: Allow use of art as the Android runtime.

* commit '411d940e':
  Allow use of art as the Android runtime.
parents 454adddd 411d940e
Branches
Tags
No related merge requests found
...@@ -152,6 +152,9 @@ allow appdomain self:rawip_socket create_socket_perms; ...@@ -152,6 +152,9 @@ allow appdomain self:rawip_socket create_socket_perms;
allow appdomain usb_device:chr_file { read write getattr ioctl }; allow appdomain usb_device:chr_file { read write getattr ioctl };
allow appdomain usbaccessory_device:chr_file { read write getattr }; allow appdomain usbaccessory_device:chr_file { read write getattr };
# For art.
allow appdomain dalvikcache_data_file:file execute;
### ###
### CTS-specific rules ### CTS-specific rules
### ###
......
...@@ -36,6 +36,7 @@ allow platform_app appdomain:fifo_file write; ...@@ -36,6 +36,7 @@ allow platform_app appdomain:fifo_file write;
# App sandbox file accesses. # App sandbox file accesses.
allow platformappdomain platform_app_data_file:dir create_dir_perms; allow platformappdomain platform_app_data_file:dir create_dir_perms;
allow platformappdomain platform_app_data_file:notdevfile_class_set create_file_perms; allow platformappdomain platform_app_data_file:notdevfile_class_set create_file_perms;
allow platformappdomain platform_app_data_file:file execute;
# App sdcard file accesses # App sdcard file accesses
allow platformappdomain sdcard_type:dir create_dir_perms; allow platformappdomain sdcard_type:dir create_dir_perms;
allow platformappdomain sdcard_type:file create_file_perms; allow platformappdomain sdcard_type:file create_file_perms;
......
...@@ -8,6 +8,9 @@ permissive system_server; ...@@ -8,6 +8,9 @@ permissive system_server;
# Dalvik Compiler JIT Mapping. # Dalvik Compiler JIT Mapping.
allow system_server self:process execmem; allow system_server self:process execmem;
# For art.
allow system_server dalvikcache_data_file:file execute;
# Child of the zygote. # Child of the zygote.
allow system_server zygote:fd use; allow system_server zygote:fd use;
allow system_server zygote:process sigchld; allow system_server zygote:process sigchld;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment