Aayush Gupta e67bb2ceaa non_plat: Label neural networks hidls and grant required permissions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I32d6131cb52ac77aa90e9ac1e73b1ca498ffe5cd
2021-01-25 17:10:58 +05:30

16 lines
519 B
Plaintext

# ==============================================
# MTK Policy Rule
# ==============================================
# TODO:: Security Issue.
# Date: 2016/02/26
# Operation: Migration
# Purpose: Allow MTK modified ElephantStress and WhatsTemp to read thermal zone temperatures
# from MTK kernel modules for thermal tests at OEM/ODM.
allow untrusted_app proc_mtktz:dir search;
allow untrusted_app proc_mtktz:file r_file_perms;
# Neural network
allow untrusted_app mtk_hal_neuralnetworks:binder { call transfer };