Add SEPolicy for gxp_metrics_logger.so logging to stats service
In order to access the gxp metrics library from the google camera app (product partition), we need to create an SELinux exception for the related shared library (in vendor) it uses. This CL adds the same_process_hal_file tag to allow this exception. Bug: 177236353 Test: App can load the .so and creates a VLOG message after this change. Before: No permission to access namespace. After: GCA able to access the gxp_metrics_logger.so Change-Id: I453b66b30eb51ebd22fda750d272cf35574301f6 Signed-off-by: Dinesh Yadav <dkyadav@google.com>
This commit is contained in:
parent
c169cd75ce
commit
6513479fe8
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
|||
/vendor/lib(64)?/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libprotobuf-cpp-lite-3\.9\.1\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libgxp\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/gxp_metrics_logger\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# Graphics
|
||||
/vendor/lib(64)?/hw/gralloc\.gs201\.so u:object_r:same_process_hal_file:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue