blob: 5859ca441dcdcef7d1ff366573d39e9095b34baa [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)
5# Create a socket for connections from debuggerd.
6type_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
15neverallow system_server system_server_tmpfs:file execute;