2012-01-04 18:33:27 +01:00
|
|
|
# debugger interface
|
|
|
|
type debuggerd, domain;
|
2013-05-15 06:02:55 +02:00
|
|
|
permissive debuggerd;
|
2012-01-04 18:33:27 +01:00
|
|
|
type debuggerd_exec, exec_type, file_type;
|
|
|
|
|
|
|
|
init_daemon_domain(debuggerd)
|
2013-05-18 02:11:29 +02:00
|
|
|
unconfined_domain(debuggerd)
|
2013-07-13 00:38:41 +02:00
|
|
|
relabelto_domain(debuggerd)
|
|
|
|
allow debuggerd tombstone_data_file:dir relabelto;
|
2013-09-27 16:24:49 +02:00
|
|
|
|
|
|
|
# Connect to system_server via /data/system/ndebugsocket.
|
|
|
|
unix_socket_connect(debuggerd, system_ndebug, system_server)
|