Merge changes from topic "275143841"

* changes:
  Merge "Move OTA context out of legacy folder" to master
  Move OTA context out of legacy folder
This commit is contained in:
Wilson Sung 2023-03-27 14:27:28 +00:00 committed by Android (Google) Code Review
commit 21226c4c24
4 changed files with 5 additions and 4 deletions

View file

@ -12,7 +12,6 @@ userdebug_or_eng(`
') ')
# sysfs # sysfs
type sysfs_ota, sysfs_type, fs_type;
type bootdevice_sysdev, dev_type; type bootdevice_sysdev, dev_type;
type sysfs_wifi, sysfs_type, fs_type; type sysfs_wifi, sysfs_type, fs_type;
type sysfs_bcmdhd, sysfs_type, fs_type; type sysfs_bcmdhd, sysfs_type, fs_type;

View file

@ -26,9 +26,6 @@ genfscon sysfs /devices/platform/debugcore/sscoredump/sscd_debugcore/report_coun
genfscon sysfs /devices/platform/mfc-core/sscoredump/sscd_mfc-core/report_count u:object_r:sysfs_sscoredump_subsystem_report_count:s0 genfscon sysfs /devices/platform/mfc-core/sscoredump/sscd_mfc-core/report_count u:object_r:sysfs_sscoredump_subsystem_report_count:s0
genfscon sysfs /devices/platform/wlan/sscoredump/sscd_wlan/report_count u:object_r:sysfs_sscoredump_subsystem_report_count:s0 genfscon sysfs /devices/platform/wlan/sscoredump/sscd_wlan/report_count u:object_r:sysfs_sscoredump_subsystem_report_count:s0
# OTA
genfscon sysfs /devices/platform/13200000.ufs/pixel/boot_lun_enabled u:object_r:sysfs_ota:s0
# Storage # Storage
genfscon proc /fs/f2fs u:object_r:proc_f2fs:s0 genfscon proc /fs/f2fs u:object_r:proc_f2fs:s0
genfscon proc /sys/vm/swappiness u:object_r:proc_dirty:s0 genfscon proc /sys/vm/swappiness u:object_r:proc_dirty:s0

2
vendor/file.te vendored
View file

@ -39,8 +39,10 @@ userdebug_or_eng(`
typeattribute proc_vendor_sched mlstrustedobject; typeattribute proc_vendor_sched mlstrustedobject;
') ')
# sysfs
type sysfs_fabric, sysfs_type, fs_type; type sysfs_fabric, sysfs_type, fs_type;
type sysfs_em_profile, sysfs_type, fs_type; type sysfs_em_profile, sysfs_type, fs_type;
type sysfs_ota, sysfs_type, fs_type;
# GSA # GSA
type sysfs_gsa_log, sysfs_type, fs_type; type sysfs_gsa_log, sysfs_type, fs_type;

View file

@ -479,3 +479,6 @@ genfscon sysfs /devices/platform/17000000.aoc/control/hotword_wakeup u:ob
genfscon sysfs /devices/platform/17000000.aoc/control/memory_exception u:object_r:sysfs_aoc_dumpstate:s0 genfscon sysfs /devices/platform/17000000.aoc/control/memory_exception u:object_r:sysfs_aoc_dumpstate:s0
genfscon sysfs /devices/platform/17000000.aoc/control/memory_votes_a32 u:object_r:sysfs_aoc_dumpstate:s0 genfscon sysfs /devices/platform/17000000.aoc/control/memory_votes_a32 u:object_r:sysfs_aoc_dumpstate:s0
genfscon sysfs /devices/platform/17000000.aoc/control/memory_votes_ff1 u:object_r:sysfs_aoc_dumpstate:s0 genfscon sysfs /devices/platform/17000000.aoc/control/memory_votes_ff1 u:object_r:sysfs_aoc_dumpstate:s0
# OTA
genfscon sysfs /devices/platform/13200000.ufs/pixel/boot_lun_enabled u:object_r:sysfs_ota:s0