mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Bug: 36463595 Test: lunch walleye-userdebug && make -j48 sepolicy Change-Id: Idbc83b06edcb3eb2ea548a16ed93f711cda150c1 Signed-off-by: Sandeep Patil <sspatil@google.com>
22 lines
655 B
Plaintext
22 lines
655 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)
|