This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_sanders-lin…/sepolicy/vendor/init_wifi.te
Ashwin R C f540803573 sanders: update sepolicy.
-Fix Neverallows.
-Fix missing type.
-Fix type attributes.

Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 16:45:56 +02:00

15 lines
492 B
Plaintext

type init_wifi, domain, binder_in_vendor_violators;
type init_wifi_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init_wifi)
binder_use(init_wifi)
binder_service(init_wifi)
binder_call(init_wifi, system_server)
# shell scripts need to execute /system/bin/sh
allow init_wifi vendor_shell_exec:file rx_file_perms;
allow init_wifi vendor_toolbox_exec:file rx_file_perms;
allow init_wifi vendor_shell_exec:file entrypoint;
allow init_wifi sysfs_wcnsscore:file rw_file_perms;