Allow adbd to read cgroup_v2
This group allows to check if an app if frozen.
Test: Tested in adb CL
Bug: 383478773
Change-Id: I2dd080953bc706e1b1a911975615adc786f4242f
diff --git a/private/adbd.te b/private/adbd.te
index b87b319..c8226f3 100644
--- a/private/adbd.te
+++ b/private/adbd.te
@@ -228,3 +228,6 @@
# Only init is allowed to enter the adbd domain via exec()
neverallow { domain -init } adbd:process transition;
neverallow * adbd:process dyntransition;
+
+# allow adbd to check if an app is frozen
+allow adbd cgroup_v2:file read;