universal7570: sepolicy: Update for exynos 7570

* I still don't know how to import these from stock
* So I 'kang' from https://github.com/Yilliee/android_device_samsung_on5xelte , hehe

Change-Id: I093d4b91602f1b26750f41bd9b9c056e707dd12d
This commit is contained in:
Hendra Manudinata 2021-03-09 09:10:57 +07:00
parent 926337f331
commit 602b4e4005
No known key found for this signature in database
GPG key ID: 8DB7A83A9B4EE2D6
53 changed files with 58 additions and 1095 deletions

View file

@ -1,22 +1 @@
allow kernel self:capability { chown mknod };
# /dev/mbin0
allow kernel emmcblk_device:blk_file r_file_perms;
# /sys/devices/system/cpu/cpu[0-9]/cpufreq/*
allow kernel sysfs_devices_system_cpu:file setattr;
# /efs contents
allow kernel { app_efs_file battery_efs_file efs_file sensor_efs_file }:dir r_dir_perms;
allow kernel { app_efs_file battery_efs_file efs_file sensor_efs_file }:file rw_file_perms;
# /efs/wifi/.mac.info
r_dir_file(kernel, wifi_efs_file);
# /data/misc/conn/.wifiver.info
allow kernel wifi_data_file:file rw_file_perms;
# Allow kernel to search tmpfs
allow kernel tmpfs:dir search;
allow kernel self:capability sys_module;
allow kernel vendor_file:file r_file_perms;