mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: sepolicy: Adapt for universal7885 and address denials
* Everything's working fine now * todo: Cleanup unnecessary rules and vendor init Change-Id: I4faea56383b5851bbd486f45d103e0bb94ebdd24 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
1db34af1a0
commit
1875a501a1
42 changed files with 242 additions and 111 deletions
15
sepolicy/vendor/wlbtd.te
vendored
Normal file
15
sepolicy/vendor/wlbtd.te
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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);
|
||||
Loading…
Reference in a new issue