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-127594
Signed-off-by: Ratnesh Kumar Rai <[email protected]>
  • Loading branch information
rairatne authored and sysopenci committed Nov 19, 2024
1 parent 7e7dd33 commit 827bab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/opencl/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/(vendor|system/vendor)/lib(64)?/libigdfcl\.so u:object_r:same_process_hal_file:s0
/(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)?/libigdgmm_android\.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 827bab7

Please sign in to comment.