universal7580: sepolicy: Fix exported_camera_prop denials
authorKyle Harrison <khwebmail@gmail.com>
Thu, 12 Nov 2020 19:00:18 +0000 (19:00 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 6 Apr 2021 08:12:23 +0000 (10:12 +0200)
Change-Id: Ib3abf88a4c71fcd1510a9b1a3cd496b85379c8b2

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

diff --git a/sepolicy/app.te b/sepolicy/app.te
new file mode 100644 (file)
index 0000000..f2f2bef
--- /dev/null
@@ -0,0 +1 @@
+get_prop(appdomain, exported_camera_prop);
index f91df76d6465f4cf9cc96a42f136a483e55ae6e6..cdb2a86c9d9ba0ce5660fc2827aa93c6dcb9a8a2 100644 (file)
@@ -56,5 +56,6 @@ allow system_server proc_input_devices:file r_file_perms;
 
 unix_socket_connect(system_server, property, gpsd)
 
+get_prop(system_server, exported_camera_prop);
 get_prop(system_server, userspace_reboot_exported_prop);
 get_prop(system_server, userspace_reboot_config_prop);
index a6e244a5db883140b595ed59db400a7b31a0a0b5..40dd7d639380d07b2d9628171e11cf7f8c538c3e 100644 (file)
@@ -1 +1,3 @@
 dontaudit zygote proc_cmdline:file r_file_perms;
+
+get_prop(zygote, exported_camera_prop);