1type tango_core, domain, coredomain; 2 3app_domain(tango_core) 4#from system/sepolicy/private/untrusted_app.te 5untrusted_app_domain(tango_core) 6net_domain(tango_core) 7bluetooth_domain(tango_core) 8 9#from system/sepolicy/private/untrusted_app.te 10allow tango_core system_server:udp_socket { connect getattr read recvfrom sendto write }; 11 12#calibration files 13allow tango_core persist_file:dir search; 14allow tango_core persist_sensors_file:dir search; 15allow tango_core persist_sensors_file:file { getattr open read }; 16 17# Allow access to necessary vendor libraries to execute Hexagon code 18typeattribute tango_core system_executes_vendor_violators; 19allow tango_core hexagon_halide_file:file { execute read open getattr }; 20allow tango_core qdsp_device:chr_file { ioctl open read }; 21