From f451b3b7c3052fcc3e26db4d94dbb7d73f6b7794 Mon Sep 17 00:00:00 2001 From: Ted Lin Date: Fri, 10 Jun 2022 14:23:21 +0800 Subject: Remove the unused attribute set from init.rc 06-08 13:13:07.488 383 383 I auditd : type=1400 audit(0.0:4): avc: denied { setattr } for comm="init" name="registers" dev="debugfs" ino=29509 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0 06-08 21:13:07.488 383 383 I auditd : type=1400 audit(0.0:4): avc: denied { setattr } for comm="init" name="registers" dev="debugfs" ino=29509 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0 Bug:235395130 Test: check bugreport Change-Id: Ie199f29d034c705b4f0a0d7e5ad178b9e8dcc282 Signed-off-by: Ted Lin --- conf/init.gs201.rc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'conf') diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index b9d8d3f..0f4869a 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -226,10 +226,6 @@ on init chown system system /sys/class/power_supply/maxfg/m5_model_state chown system system /sys/class/power_supply/maxfg_base/m5_model_state - # pca9468 : slider+77729: 6-0057; slider+MW A1: 5-0057 - chown system system /d/regmap/5-0057-pca9468-mains/registers - chown system system /d/regmap/6-0057-pca9468-mains/registers - # Dump eeprom chown system system /sys/devices/platform/10970000.hsi2c/i2c-5/5-0050/eeprom chown system system /sys/devices/platform/10970000.hsi2c/i2c-4/4-0050/eeprom -- cgit v1.2.3