init_qti_chg_policy: add policy to access sysfs_contaminant

avc: denied { getattr } for comm="ls" path="/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm7250b@2:qcom,qpnp-smb5/power_supply/usb/moisture_detected" dev="sysfs" ino=66144 scontext=u:r:init_qti_chg_policy:s0 tcontext=u:object_r:sysfs_contaminant:s0 tclass=file permissive=0

Bug: 155252361
Test: boot to home and check no init_qti_chg_policy denied log
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Iae4ee85a76e0354570b55199ed44fe717a8589b4
1 file changed
tree: aa42649fad54a2f70a6b20611b2ecd0fbff26732
  1. private/
  2. public/
  3. tracking_denials/
  4. vendor/
  5. OWNERS
  6. redbull-sepolicy.mk