android_device_samsung_a20/universal7885-common/sepolicy/vendor/wlbtd.te
roynatech2544 9506c382c4
universal7885: Adapt SELinux rules to match our A20/A20e's needs
* Additionally, adapt LineageOS's rules too

Change-Id: Ie253afd9052c700705861d618253445ef4b8c728
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:11:48 +09:00

15 lines
455 B
Text

type wlbtd, domain;
type wlbtd_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(wlbtd)
allow wlbtd conn_vendor_data_file:dir search;
allow wlbtd conn_vendor_data_file:file rw_file_perms;
allow wlbtd self:netlink_generic_socket { create setopt bind getattr read write };
allow wlbtd init:unix_stream_socket connectto;
r_dir_file(wlbtd, sysfs_wifi)
allow wlbtd sysfs_wifi_writable:file rw_file_perms;
set_prop(wlbtd, vendor_wlbtd_prop)