universal7580: sepolicy: Fix userspace_reboot prop denials
authorKyle Harrison <khwebmail@gmail.com>
Thu, 12 Nov 2020 17:10:57 +0000 (17:10 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 6 Apr 2021 08:12:12 +0000 (10:12 +0200)
- userspace_reboot_exported_prop
- userspace_reboot_config_prop

Change-Id: Ibec834df41345d1268b1eea4ae88b2fd5d37dd55

sepolicy/bootanim.te [new file with mode: 0644]
sepolicy/system_server.te

diff --git a/sepolicy/bootanim.te b/sepolicy/bootanim.te
new file mode 100644 (file)
index 0000000..5fa3368
--- /dev/null
@@ -0,0 +1 @@
+get_prop(bootanim, userspace_reboot_exported_prop);
\ No newline at end of file
index 68aba798c7b59fb24b16ddd0bf150d3ba6e2f437..f91df76d6465f4cf9cc96a42f136a483e55ae6e6 100644 (file)
@@ -55,3 +55,6 @@ allow system_server sysfs_input:file rw_file_perms;
 allow system_server proc_input_devices:file r_file_perms;
 
 unix_socket_connect(system_server, property, gpsd)
+
+get_prop(system_server, userspace_reboot_exported_prop);
+get_prop(system_server, userspace_reboot_config_prop);