blob: e5e4939de71e0458ae7b3dcdcfbb7dcdcf8be056 [file] [log] [blame]
dcashmancc39f632016-07-22 13:13:11 -07001# type_transition must be private policy the domain_trans rules could stay
2# public, but conceptually should go with this
3# Define a type for tmpfs-backed ashmem regions.
4tmpfs_domain(system_server)
Josh Gaocb3eb4e2016-10-19 14:39:30 -07005# Create a socket for connections from crash_dump.
dcashmancc39f632016-07-22 13:13:11 -07006type_transition system_server system_data_file:sock_file system_ndebug_socket "ndebugsocket";
dcashman2e00e632016-10-12 14:58:09 -07007
8allow system_server zygote_tmpfs:file read;
9
10# Create a socket for receiving info from wpa.
11type_transition system_server wifi_data_file:sock_file system_wpa_socket;
12type_transition system_server wpa_socket:sock_file system_wpa_socket;
13
14# TODO: deal with tmpfs_domain pub/priv split properly
Nick Kralevichb56e6ef2016-12-09 20:14:31 -080015neverallow system_server system_server_tmpfs:file execute;
Calin Juravlee5a1f642017-01-17 20:31:31 -080016
17# dexoptanalyzer is currently used only for secondary dex files which
18# system_server should never access.
19neverallow system_server dexoptanalyzer_exec:file no_x_file_perms;