1 type obdm_app, domain, coredomain; 2 3 app_domain(obdm_app) 4 net_domain(obdm_app) 5 6 allow obdm_app proc_stat:file r_file_perms; 7 8 # talk to /dev/diag 9 allow obdm_app diag_device:chr_file rw_file_perms; 10 11 allow obdm_app app_api_service:service_manager find; 12 allow obdm_app radio_service:service_manager find; 13 allow obdm_app surfaceflinger_service:service_manager find; 14 15 allow obdm_app self:socket create_socket_perms; 16 allowxperm obdm_app self:socket ioctl { 0x0000c302 0x0000c304 }; 17 18 allow obdm_app sysfs:dir r_dir_perms; 19 r_dir_file(obdm_app, sysfs_msm_subsys) 20