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