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 <tedlin@google.com>
This commit is contained in:
Ted Lin 2022-06-10 14:23:21 +08:00 committed by TreeHugger Robot
parent aedd43e3cb
commit f451b3b7c3

View file

@ -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