From 262a10ff2b07df44cc990b8a8ac611ceb1da3051 Mon Sep 17 00:00:00 2001 From: Ioannis Ilkos Date: Wed, 5 Apr 2023 07:15:19 +0000 Subject: [PATCH] SEPolicy for trace event suspend_resume_minimal This is a more lightweight version of built-in power/suspend_resume Bug: 277016923 Test: manual Change-Id: I71cefcab43a8119cfded52e55ebfaaf809e9f205 --- private/genfs_contexts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/private/genfs_contexts b/private/genfs_contexts index 8e35c4649..759ac383f 100644 --- a/private/genfs_contexts +++ b/private/genfs_contexts @@ -240,10 +240,12 @@ genfscon tracefs /events/block/block_rq_issue/ u:object_r:debugfs_ genfscon tracefs /events/block/block_rq_complete/ u:object_r:debugfs_tracing:s0 genfscon tracefs /synthetic_events u:object_r:debugfs_tracing:s0 -genfscon tracefs /events/synthetic/rss_stat_throttled u:object_r:debugfs_tracing:s0 - genfscon debugfs /tracing/synthetic_events u:object_r:debugfs_tracing:s0 + +genfscon tracefs /events/synthetic/rss_stat_throttled u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/synthetic/rss_stat_throttled u:object_r:debugfs_tracing:s0 +genfscon tracefs /events/synthetic/suspend_resume_minimal u:object_r:debugfs_tracing:s0 +genfscon debugfs /tracing/events/synthetic/suspend_resume_minimal u:object_r:debugfs_tracing:s0 genfscon tracefs /trace_clock u:object_r:debugfs_tracing:s0 genfscon tracefs /buffer_size_kb u:object_r:debugfs_tracing:s0