2016-07-22 22:13:11 +02:00
|
|
|
# type_transition must be private policy the domain_trans rules could stay
|
|
|
|
# public, but conceptually should go with this
|
|
|
|
# Define a type for tmpfs-backed ashmem regions.
|
|
|
|
tmpfs_domain(system_server)
|
|
|
|
# Create a socket for connections from debuggerd.
|
|
|
|
type_transition system_server system_data_file:sock_file system_ndebug_socket "ndebugsocket";
|
2016-10-12 23:58:09 +02:00
|
|
|
|
|
|
|
allow system_server zygote_tmpfs:file read;
|
|
|
|
|
|
|
|
# Create a socket for receiving info from wpa.
|
|
|
|
type_transition system_server wifi_data_file:sock_file system_wpa_socket;
|
|
|
|
type_transition system_server wpa_socket:sock_file system_wpa_socket;
|
|
|
|
|
|
|
|
# TODO: deal with tmpfs_domain pub/priv split properly
|
2016-12-10 05:14:31 +01:00
|
|
|
neverallow system_server system_server_tmpfs:file execute;
|