enforce debugfs constraint on userdebug build
Bug: 225815474 Test: build pass Change-Id: If9e32d4b67c342b56eea39701518a520a62df199
This commit is contained in:
parent
02c1ef8b85
commit
de2696eb72
4 changed files with 4 additions and 7 deletions
2
tracking_denials/hardware_info_app.te
Normal file
2
tracking_denials/hardware_info_app.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# b/208909060
|
||||
dontaudit hardware_info_app vendor_maxfg_debugfs:dir search;
|
|
@ -2,4 +2,6 @@
|
|||
dontaudit vendor_init thermal_link_device:file { create };
|
||||
# b/221384939
|
||||
dontaudit vendor_init vendor_battery_defender_prop:property_service { set };
|
||||
# b/226271913
|
||||
dontaudit vendor_init vendor_maxfg_debugfs:file setattr;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ dump_hal(hal_telephony)
|
|||
dump_hal(hal_uwb_vendor)
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow dumpstate vendor_dmabuf_debugfs:file r_file_perms;
|
||||
allow dumpstate media_rw_data_file:file append;
|
||||
')
|
||||
|
||||
|
|
|
@ -22,11 +22,5 @@ allow hardware_info_app sysfs_display:file r_file_perms;
|
|||
allow hardware_info_app sysfs_soc:file r_file_perms;
|
||||
allow hardware_info_app sysfs_chip_id:file r_file_perms;
|
||||
|
||||
# Fuel
|
||||
userdebug_or_eng(`
|
||||
allow hardware_info_app vendor_maxfg_debugfs:dir search;
|
||||
allow hardware_info_app vendor_maxfg_debugfs:file r_file_perms;
|
||||
')
|
||||
|
||||
# Batery history
|
||||
allow hardware_info_app battery_history_device:chr_file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue