Skip to content

Commit

Permalink
Modify sepolicy for opencl
Browse files Browse the repository at this point in the history
Changes done:
- Replace libgmm_umd with libigdgmm_android to align with
new library name

Tests done:
- Android build
- Boot and verified with tflite gpu delegate with openCL

Tracked-On: OAM-127697
Signed-off-by: Ratnesh Kumar Rai <ratnesh.kumar.rai@intel.com>
  • Loading branch information
rairatne committed Nov 22, 2024
1 parent 2c757f9 commit 9f7bcf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphics/opencl/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/(vendor|system/vendor)/lib(64)?/libopencl-clang\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libigc\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libgmm_umd\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libbinder\.so u:object_r:same_process_hal_file:s0

#icd file permission
/vendor/Khronos/OpenCL/vendors/intel\.icd u:object_r:vendor_app_file:s0

0 comments on commit 9f7bcf0

Please sign in to comment.