android_device_xiaomi_sm835.../sepolicy/vendor/torch.te
Cyber Knight a391cb0839 sm8350-common: sepolicy: Address a cameraserver neverallow
- For some reason, allowing cameraserver to access sysfs_leds on lahaina results in a neverallow.
- Hence, allow cameraserver to access a new type, sysfs_torch which only accesses the relevant nodes we utilize to alleviate the neverallow.

Change-Id: I8625b32f2bb501bbf85f0c026dca22a8e0bcc939
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-04-10 21:59:07 +00:00

1 line
39 B
Text

type sysfs_torch, fs_type, sysfs_type;