Home | History | Annotate | Download | only in common
      1 type ims, domain;
      2 type ims_exec, exec_type, vendor_file_type, file_type;
      3 
      4 init_daemon_domain(ims)
      5 net_domain(ims)
      6 
      7 get_prop(ims, hwservicemanager_prop)
      8 set_prop(ims, ims_prop)
      9 
     10 unix_socket_connect(ims, netmgrd, netmgrd)
     11 
     12 allow ims sysfs_soc:dir search;
     13 allow ims sysfs_soc:file r_file_perms;
     14 allow ims sysfs_timestamp_switch:file r_file_perms;
     15 
     16 allow ims self:capability net_bind_service;
     17 
     18 userdebug_or_eng(`
     19   allow ims diag_device:chr_file rw_file_perms;
     20 ')
     21 
     22 allow ims ion_device:chr_file r_file_perms;
     23 
     24 unix_socket_connect(ims, cnd, cnd)
     25 
     26 allow ims self:socket create_socket_perms;
     27 allow ims ims_socket:sock_file write;
     28 allow ims self:netlink_generic_socket create_socket_perms_no_ioctl;
     29 allow ims netmgrd_socket:dir search;
     30 allow ims netmgrd_socket:sock_file w_file_perms;
     31 allow ims radio_vendor_data_file:dir rw_dir_perms;
     32 allow ims radio_vendor_data_file:file create_file_perms;
     33 allowxperm ims self:socket ioctl msm_sock_ipc_ioctls;
     34 allowxperm ims self:udp_socket ioctl RMNET_IOCTL_EXTENDED;
     35 
     36 r_dir_file(ims, sysfs_msm_subsys)
     37 r_dir_file(ims, sysfs_diag)
     38 
     39 hwbinder_use(ims)
     40 allow ims hal_cne_hwservice:hwservice_manager find;
     41 binder_call(ims, cnd)
     42 
     43 dontaudit ims kernel:system module_request;
     44