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>
14 lines
558 B
Plaintext
14 lines
558 B
Plaintext
pixel_bugreport(dump_gxp)
|
|
|
|
userdebug_or_eng(`
|
|
allow dump_gxp radio_vendor_data_file:dir create_dir_perms;
|
|
allow dump_gxp radio_vendor_data_file:file create_file_perms;
|
|
allow dump_gxp sscoredump_vendor_data_coredump_file:dir r_dir_perms;
|
|
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)
|
|
')
|
|
|