Merge "Making sys.boot.reason.last restricted" into android14-tests-dev

This commit is contained in:
Treehugger Robot 2023-12-06 12:53:05 +00:00 committed by Gerrit Code Review
commit 8deb864534
4 changed files with 8 additions and 0 deletions

View file

@ -17,6 +17,7 @@ neverallow {
-dumpstate
userdebug_or_eng(`-incidentd')
-init
-platform_app
-recovery
-shell
-system_server

View file

@ -113,6 +113,9 @@ get_prop(platform_app, keyguard_config_prop)
# allow platform apps to read qemu.hw.mainkeys
get_prop(platform_app, qemu_hw_prop)
# allow platform apps to read sys.boot.reason.last
get_prop(platform_app, last_boot_reason_prop)
# allow platform apps to create symbolic link
allow platform_app app_data_file:lnk_file create_file_perms;

View file

@ -17,6 +17,7 @@ neverallow {
-dumpstate
userdebug_or_eng(`-incidentd')
-init
-platform_app
-recovery
-shell
-system_server

View file

@ -113,6 +113,9 @@ get_prop(platform_app, keyguard_config_prop)
# allow platform apps to read qemu.hw.mainkeys
get_prop(platform_app, qemu_hw_prop)
# allow platform apps to read sys.boot.reason.last
get_prop(platform_app, last_boot_reason_prop)
# allow platform apps to create symbolic link
allow platform_app app_data_file:lnk_file create_file_perms;