mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-08 01:08:05 -04:00
universal7570: import sepolicy from 7870
The sepolicy before seems to be broken Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
This commit is contained in:
parent
f22a0e7cdd
commit
f0e4521a9f
53 changed files with 1095 additions and 58 deletions
|
@ -1 +1,22 @@
|
|||
allow kernel vendor_file:file r_file_perms;
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue