summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2023-07-05 12:25:23 +0800
committerTai Kuo <taikuo@google.com>2023-07-05 14:23:43 +0800
commit3334b5e659ad6058e657790dc52945e95e0b2ca3 (patch)
tree1a27f7da6401fe47aabeeab27060583623fc856f
parent8a2deeaaef939976e11d08751c2f54a0789c67fd (diff)
downloadpixel-sepolicy-3334b5e659ad6058e657790dc52945e95e0b2ca3.tar.gz
Add cs40l26 module version attributes to sysfs_vibrator
Related paths: /sys/module/cs40l26_core/version /sys/module/cl_dsp_core/version Bug: 289189911 Test: dumpsys android.hardware.vibrator.IVibrator/default Change-Id: I58ffe287fb281cb450bf0d3b1228609d589efd72
-rw-r--r--vibrator/cs40l26/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/vibrator/cs40l26/file_contexts b/vibrator/cs40l26/file_contexts
index 5c9f669..fbbda2c 100644
--- a/vibrator/cs40l26/file_contexts
+++ b/vibrator/cs40l26/file_contexts
@@ -3,3 +3,6 @@
/dev/snd/pcmC0D24p u:object_r:vibrator_snd_device:s0
/dev/snd/pcmC1D24p u:object_r:vibrator_snd_device:s0
+
+/sys/module/cs40l26_core/version u:object_r:sysfs_vibrator:s0
+/sys/module/cl_dsp_core/version u:object_r:sysfs_vibrator:s0