From ea854a89c49e2e810dad4bdb1958263d7eafa97f Mon Sep 17 00:00:00 2001 From: Madhav Iyengar Date: Wed, 1 May 2024 16:25:33 +0000 Subject: [PATCH] Add the new IPC and ring buffer files. Adds file_contexts entries for the files representing new AOC services used by a new transport between CHRE on AOC and the bthal. NOTE: The use-case for these files is the same as the /dev/acd-com.google.bt* files (lines 23-24). Those files will eventually be removed when we migrate from the old USF-based transport to the one under development. Bug: 342415506 Test: Works with other CLs in topic to support BT offload over the new transport (with a local change to hook the new transport in). Change-Id: I81246a25af020ab14da3d4ae7675f2a0f00f97be --- aoc/sepolicy/file_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aoc/sepolicy/file_contexts b/aoc/sepolicy/file_contexts index ed8a6d6..73293f7 100644 --- a/aoc/sepolicy/file_contexts +++ b/aoc/sepolicy/file_contexts @@ -31,6 +31,9 @@ /dev/acd-aocx_inject[0-9]* u:object_r:aoc_device:s0 /dev/acd-aocx_tapout[0-9]* u:object_r:aoc_device:s0 /dev/acd-mc_headpos u:object_r:aoc_device:s0 +/dev/acd-chre_bt_offload_ctl u:object_r:aoc_device:s0 +/dev/acd-chre_bt_offload_data_tx u:object_r:aoc_device:s0 +/dev/acd-chre_bt_offload_data_rx u:object_r:aoc_device:s0 # AoC vendor binaries /vendor/bin/aocd u:object_r:aocd_exec:s0