mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
There are some issues with wi-fi calling that need these to be individually flipped into permissive for now so that they can continue to function. Test: Wi-Fi calling works Change-Id: Ib8dff8c5a6a9e7a0d702e558a950ce7315f78881
26 lines
696 B
Plaintext
26 lines
696 B
Plaintext
type ims, domain;
|
|
type ims_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(ims)
|
|
net_domain(ims)
|
|
|
|
set_prop(ims, ims_prop)
|
|
|
|
unix_socket_connect(ims, netmgrd, netmgrd)
|
|
|
|
allow ims sysfs_soc:dir search;
|
|
allow ims sysfs_soc:file r_file_perms;
|
|
allow ims self:capability { net_raw net_bind_service};
|
|
allow ims self:socket create_socket_perms;
|
|
allow ims self:netlink_generic_socket create_socket_perms_no_ioctl;
|
|
allow ims netmgrd_socket:dir search;
|
|
allow ims netmgrd_socket:sock_file w_file_perms;
|
|
allowxperm ims self:socket ioctl msm_sock_ipc_ioctls;
|
|
allowxperm ims self:udp_socket ioctl RMNET_IOCTL_EXTENDED;
|
|
|
|
r_dir_file(ims, sysfs_msm_subsys)
|
|
|
|
userdebug_or_eng(`
|
|
permissive ims;
|
|
')
|