Add sepolicy for TWT to dumpstate am: f9552297fa

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/20118653

Change-Id: I7bb658e06b8e95be2933ac4ae45bd2e0208a851e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Star Chang 2022-11-04 02:10:03 +00:00 committed by Automerger Merge Worker
commit f7f9aa1304
3 changed files with 5 additions and 1 deletions

View file

@ -56,7 +56,7 @@ type sysfs_soc, sysfs_type, fs_type;
type sysfs_camera, sysfs_type, fs_type; type sysfs_camera, sysfs_type, fs_type;
type sysfs_write_leds, sysfs_type, fs_type; type sysfs_write_leds, sysfs_type, fs_type;
type sysfs_pca, sysfs_type, fs_type; type sysfs_pca, sysfs_type, fs_type;
type sysfs_ptracker, sysfs_type, fs_type;
# debugfs # debugfs
type debugfs_f2fs, debugfs_type, fs_type; type debugfs_f2fs, debugfs_type, fs_type;
type vendor_maxfg_debugfs, fs_type, debugfs_type; type vendor_maxfg_debugfs, fs_type, debugfs_type;

View file

@ -40,6 +40,7 @@ genfscon sysfs /devices/platform/10db0000.spi/spi_master/spi16/spi16.0/ieee80215
# WiFi # WiFi
genfscon sysfs /wifi u:object_r:sysfs_wifi:s0 genfscon sysfs /wifi u:object_r:sysfs_wifi:s0
genfscon sysfs /wlan_ptracker u:object_r:sysfs_ptracker:s0
# ACPM # ACPM
genfscon sysfs /devices/platform/acpm_stats u:object_r:sysfs_acpm_stats:s0 genfscon sysfs /devices/platform/acpm_stats u:object_r:sysfs_acpm_stats:s0

View file

@ -45,6 +45,9 @@ allow hal_dumpstate_default mitigation_vendor_data_file:file r_file_perms;
allow hal_dumpstate_default sysfs_wifi:dir r_dir_perms; allow hal_dumpstate_default sysfs_wifi:dir r_dir_perms;
allow hal_dumpstate_default sysfs_wifi:file r_file_perms; allow hal_dumpstate_default sysfs_wifi:file r_file_perms;
allow hal_dumpstate_default sysfs_ptracker:dir r_dir_perms;
allow hal_dumpstate_default sysfs_ptracker:file r_file_perms;
allow hal_dumpstate_default sysfs_batteryinfo:dir r_dir_perms; allow hal_dumpstate_default sysfs_batteryinfo:dir r_dir_perms;
allow hal_dumpstate_default sysfs_batteryinfo:file r_file_perms; allow hal_dumpstate_default sysfs_batteryinfo:file r_file_perms;