Jack Wu 2d50edbc64 Add sepolicy for P9222 WLC power_supply
05-30 05:13:03.096   836   836 I auditd  : type=1400 audit(0.0:6): avc: denied { getattr } for comm="android.hardwar" path="/sys/devices/platform/10da0000.hsi2c/i2c-6/i2c-p9222/power_supply/wireless/capacity" dev="sysfs" ino=71270 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
05-30 05:13:03.100   836   836 I auditd  : type=1400 audit(0.0:7): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=71272 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 234311757
Test: build ok, no avc denied
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I0fb296a9472eda7ff5f2babfea1c769caea525e1
2022-05-31 13:08:07 +08:00
2021-11-01 15:28:54 +08:00
2021-12-21 07:38:55 -08:00
Description
No description provided
5.9 MiB
Languages
JetBrains MPS 43.4%
PureBasic 40.9%
Makefile 12.7%
C++ 1.5%
Python 1.2%
Other 0.3%