From da77c2e1dc762a8d4930260ec6ec19447cce828c Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Wed, 18 Sep 2024 01:29:15 +0000 Subject: [PATCH] Change owner of ACPI BERT tables to system Changes the owner of the following files to system:system: * /sys/firmware/acpi/tables * /sys/firmware/acpi/tables/BERT * /sys/firmware/acpi/tables/data/BERT This allows the bert_collector deamon to read these files for error reporting. Bug: 357626966 Test: m && atest bert_collector_test Change-Id: Iba3a169f1851566ee6fed6d41b538dae448bf811 --- rootdir/init.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 1acd63774..339f1beba 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1243,6 +1243,9 @@ on boot chown system system /sys/kernel/ipv4/tcp_rmem_min chown system system /sys/kernel/ipv4/tcp_rmem_def chown system system /sys/kernel/ipv4/tcp_rmem_max + chown system system /sys/firmware/acpi/tables + chown system system /sys/firmware/acpi/tables/BERT + chown system system /sys/firmware/acpi/tables/data/BERT chown root radio /proc/cmdline chown root system /proc/bootconfig