msm8974-common: sepolicy: Fix exported_camera_prop denials

Change-Id: Ib3abf88a4c71fcd1510a9b1a3cd496b85379c8b2
This commit is contained in:
Kyle Harrison 2020-11-12 19:00:18 +00:00 committed by Kevin F. Haggerty
parent cb714bb23b
commit 94878fa0bb
No known key found for this signature in database
GPG key ID: 6D95512933112729
3 changed files with 4 additions and 0 deletions

1
sepolicy/common/app.te Normal file
View file

@ -0,0 +1 @@
get_prop(appdomain, exported_camera_prop);

View file

@ -10,5 +10,6 @@ allow system_server {
allow system_server proc_last_kmsg:file r_file_perms;
get_prop(system_server, exported_camera_prop);
get_prop(system_server, userspace_reboot_config_prop);
get_prop(system_server, userspace_reboot_exported_prop);

View file

@ -1 +1,3 @@
get_prop(zygote, exported_camera_prop);
dontaudit zygote proc_cmdline:file r_file_perms;