Add file context type for /sys/devices/cs_etm
This is the cs_etm (Coresight ETM) sysfs directory.
Bug: 79161490
Test: build
Change-Id: I9a66bb4b2684ef8637106a36f7d490d8f805cabf
diff --git a/private/compat/30.0/30.0.ignore.cil b/private/compat/30.0/30.0.ignore.cil
index 1441a5b..835bc5e 100644
--- a/private/compat/30.0/30.0.ignore.cil
+++ b/private/compat/30.0/30.0.ignore.cil
@@ -19,6 +19,7 @@
profcollectd_data_file
profcollectd_exec
profcollectd_service
+ sysfs_devices_cs_etm
update_engine_stable_service
cgroup_v2
userspace_reboot_metadata_file))
diff --git a/private/genfs_contexts b/private/genfs_contexts
index 433abbc..accd02e 100644
--- a/private/genfs_contexts
+++ b/private/genfs_contexts
@@ -106,6 +106,7 @@
genfscon cgroup2 / u:object_r:cgroup_v2:s0
# sysfs labels can be set by userspace.
genfscon sysfs / u:object_r:sysfs:s0
+genfscon sysfs /devices/cs_etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/system/cpu u:object_r:sysfs_devices_system_cpu:s0
genfscon sysfs /class/android_usb u:object_r:sysfs_android_usb:s0
genfscon sysfs /class/extcon u:object_r:sysfs_extcon:s0