From ec4379ecd8ebba7a0631531c2ea35474d8b3e927 Mon Sep 17 00:00:00 2001 From: Kyle Harrison Date: Thu, 12 Nov 2020 17:10:57 +0000 Subject: [PATCH] msm8974-common: sepolicy: Fix userspace_reboot prop denials - userspace_reboot_exported_prop - userspace_reboot_config_prop Change-Id: Ibec834df41345d1268b1eea4ae88b2fd5d37dd55 --- sepolicy/common/bootanim.te | 1 + sepolicy/common/system_server.te | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 sepolicy/common/bootanim.te diff --git a/sepolicy/common/bootanim.te b/sepolicy/common/bootanim.te new file mode 100644 index 0000000..5fa3368 --- /dev/null +++ b/sepolicy/common/bootanim.te @@ -0,0 +1 @@ +get_prop(bootanim, userspace_reboot_exported_prop); \ No newline at end of file diff --git a/sepolicy/common/system_server.te b/sepolicy/common/system_server.te index 0feb7b1..edeb857 100644 --- a/sepolicy/common/system_server.te +++ b/sepolicy/common/system_server.te @@ -7,3 +7,6 @@ allow system_server { efs_file qti_debugfs }:file r_file_perms; + +get_prop(system_server, userspace_reboot_config_prop); +get_prop(system_server, userspace_reboot_exported_prop);