d131f945e6
android.framework.sensorservice@1.0 pass a file descriptor from hidl_memory into android.hardware.sensors@1.0, hence requiring the latter to use the file descriptor. Test: VtsHalSensorManagerV1_0TargetTest under selinux enforcing mode Bug: 35219747 Change-Id: I0185c8af0714776842c90ebb687b684324b55cd8
9 lines
379 B
Text
9 lines
379 B
Text
# HwBinder IPC from client to server
|
|
binder_call(hal_sensors_client, hal_sensors_server)
|
|
|
|
# Allow sensor hals to access ashmem memory allocated by apps
|
|
allow hal_sensors { appdomain -isolated_app }:fd use;
|
|
|
|
# Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
|
|
# fd is passed in from framework sensorservice HAL.
|
|
allow hal_sensors hal_allocator:fd use;
|