Move gxp sepolicies to gs-common
This change moves all gxp sepolicies to common. This eliminates the
need for having these policies in sepolicy folder of all P22+ devices.
Tested:
Created private builds and found no selinux violations for P22 & P23 devices.
Bug: 288368306
Change-Id: Iec5dfe01dd9088a117f549cc999b9ee2aa2c4484
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
diff --git a/gxp/sepolicy/dump_gxp.te b/gxp/sepolicy/dump_gxp.te
index 61a0482..8d285c5 100644
--- a/gxp/sepolicy/dump_gxp.te
+++ b/gxp/sepolicy/dump_gxp.te
@@ -7,5 +7,7 @@
allow dump_gxp sscoredump_vendor_data_coredump_file:file r_file_perms;
allow dump_gxp sscoredump_vendor_data_crashinfo_file:dir r_dir_perms;
allow dump_gxp sscoredump_vendor_data_crashinfo_file:file r_file_perms;
+ # Allow dump_gxp to access gxp properties.
+ get_prop(google_camera_app, vendor_gxp_prop)
')