Home | History | Annotate | Download | only in vendor
      1 #ims rtp service
      2 type hal_imsrtp, domain;
      3 type hal_imsrtp_exec, exec_type, vendor_file_type, file_type;
      4 
      5 # Started by init
      6 init_daemon_domain(hal_imsrtp)
      7 net_domain(hal_imsrtp)
      8 
      9 hwbinder_use(hal_imsrtp)
     10 get_prop(hal_imsrtp, hwservicemanager_prop)
     11 add_hwservice(hal_imsrtp, hal_imsrtp_hwservice)
     12 
     13 allow hal_imsrtp self:socket create_socket_perms;
     14 unix_socket_connect(hal_imsrtp, ims, ims)
     15 
     16 allow hal_imsrtp sysfs_timestamp_switch:file r_file_perms;
     17 
     18 # ioctlcmd=c302
     19 allowxperm hal_imsrtp self:socket ioctl msm_sock_ipc_ioctls;
     20 
     21 allow hal_imsrtp self:capability net_bind_service;
     22 
     23 allow hal_imsrtp sysfs_timestamp_switch:file r_file_perms;
     24 allow hal_imsrtp ion_device:chr_file r_file_perms;
     25 allow hal_imsrtp sysfs_data:file r_file_perms;
     26 r_dir_file(hal_imsrtp, sysfs_msm_subsys)
     27 r_dir_file(hal_imsrtp, sysfs_diag)
     28 r_dir_file(hal_imsrtp, sysfs_soc)
     29 
     30 allow hal_imsrtp ion_device:chr_file r_file_perms;
     31 get_prop(hal_imsrtp, ims_prop)
     32 binder_call(hal_imsrtp, radio)
     33