From 56aed06febea7d7356bb98564ffb0c3836b66ee6 Mon Sep 17 00:00:00 2001 From: Sandeep Patil Date: Tue, 25 Jul 2017 22:01:43 -0700 Subject: [PATCH] file_context: make libadsprpc a same_process_hal_file .. again. The library is made vendor public, so it needs to be accessible to all domains (not only the google camera app as it is currently done). This also led to 'JniStaticTest#test_linker_namespaces failure' CTS failure. Fix it by making libadsprpc.so a 'same_process_hal_file' again. Bug: 63677132 Test: Build Change-Id: I81d6379b7b540397319bc5e3839aecb6d8b4d2c7 Signed-off-by: Sandeep Patil --- sepolicy/vendor/file_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index b9dbeca2..0a9b97a5 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -223,7 +223,7 @@ /vendor/lib(64)?/libllvm-glnext\.so u:object_r:same_process_hal_file:s0 # Hexagon DSP host runtime and DSP-side executable needed for Halide operation -/vendor/lib(64)?/libadsprpc\.so u:object_r:hexagon_halide_file:s0 +/vendor/lib(64)?/libadsprpc\.so u:object_r:same_process_hal_file:s0 /vendor/lib/dsp/fastrpc_shell_0 u:object_r:hexagon_halide_file:s0 # data files