Add sepolicy for TWT to dumpstate
Bug: 253348062 Test: dump bugreport ok Signed-off-by: Star Chang <starchang@google.com> Change-Id: I0958fef496302df3f5e6e188f15117de78988a62
This commit is contained in:
parent
9877742035
commit
f9552297fa
3 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@ type sysfs_soc, sysfs_type, fs_type;
|
|||
type sysfs_camera, sysfs_type, fs_type;
|
||||
type sysfs_write_leds, sysfs_type, fs_type;
|
||||
type sysfs_pca, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_ptracker, sysfs_type, fs_type;
|
||||
# debugfs
|
||||
type debugfs_f2fs, debugfs_type, fs_type;
|
||||
type vendor_maxfg_debugfs, fs_type, debugfs_type;
|
||||
|
|
|
@ -40,6 +40,7 @@ genfscon sysfs /devices/platform/10db0000.spi/spi_master/spi16/spi16.0/ieee80215
|
|||
|
||||
# WiFi
|
||||
genfscon sysfs /wifi u:object_r:sysfs_wifi:s0
|
||||
genfscon sysfs /wlan_ptracker u:object_r:sysfs_ptracker:s0
|
||||
|
||||
# ACPM
|
||||
genfscon sysfs /devices/platform/acpm_stats u:object_r:sysfs_acpm_stats:s0
|
||||
|
|
|
@ -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: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:file r_file_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue