blob: c2c889cf4e99594aa10f5034cdc180d2383759a3 [file] [log] [blame]
#ims rtp service
type hal_imsrtp, domain;
type hal_imsrtp_exec, exec_type, vendor_file_type, file_type;
# Started by init
init_daemon_domain(hal_imsrtp)
#for video call+
hwbinder_use(hal_imsrtp)
net_domain(hal_imsrtp)
allow hal_imsrtp ion_device:chr_file r_file_perms;
allow hal_imsrtp self:qipcrtr_socket create_socket_perms_no_ioctl;
add_hwservice(hal_imsrtp, hal_imsrtp_hwservice)
binder_call(hal_imsrtp, radio)
unix_socket_connect(hal_imsrtp, ims, ims)
get_prop(hal_imsrtp, hwservicemanager_prop)
get_prop(hal_imsrtp, qcom_ims_prop)
#for video call-
userdebug_or_eng(`
r_dir_file(hal_imsrtp, sysfs_diag)
allow hal_imsrtp diag_device:chr_file rw_file_perms;
')
allow hal_imsrtp self:capability net_bind_service;
allow hal_imsrtp sysfs_data:file r_file_perms;
allow hal_imsrtp sysfs_ssr:file r_file_perms;
allow hal_imsrtp sysfs_timestamp_switch:file r_file_perms;
r_dir_file(hal_imsrtp, sysfs_esoc)
r_dir_file(hal_imsrtp, sysfs_soc)
r_dir_file(hal_imsrtp, sysfs_msm_subsys)
dontaudit hal_imsrtp sysfs_faceauth:dir r_dir_perms;
dontaudit hal_imsrtp sysfs_faceauth:file r_file_perms;