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
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,9 @@ allow appdomain self:rawip_socket create_socket_perms;
allow appdomain usb_device:chr_file { read write getattr ioctl };
allow appdomain usbaccessory_device:chr_file { read write getattr };
# For art.
allow appdomain dalvikcache_data_file:file execute;
###
### CTS-specific rules
###
......
......@@ -36,6 +36,7 @@ allow platform_app appdomain:fifo_file write;
# App sandbox file accesses.
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:file execute;
# App sdcard file accesses
allow platformappdomain sdcard_type:dir create_dir_perms;
allow platformappdomain sdcard_type:file create_file_perms;
......
......@@ -8,6 +8,9 @@ permissive system_server;
# Dalvik Compiler JIT Mapping.
allow system_server self:process execmem;
# For art.
allow system_server dalvikcache_data_file:file execute;
# Child of the zygote.
allow system_server zygote:fd use;
allow system_server zygote:process sigchld;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment