Skip to content
Snippets Groups Projects
  1. Jan 12, 2023
  2. Jan 10, 2023
  3. Jan 09, 2023
  4. Dec 28, 2022
  5. Dec 23, 2022
    • Wasb Liu's avatar
      sepolicy: add necessary sepolicy for dual battery · 49cdfcb3
      Wasb Liu authored
      
      12-22 16:24:51.964  1000   865   865 I auditd  : type=1400 audit(0.0:10): avc: denied { read } for comm="android.hardwar" name="logbuffer_maxfg_secondary" dev="tmpfs" ino=799 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
      12-22 16:24:51.968  1000   865   865 I auditd  : type=1400 audit(0.0:11): avc: denied { read } for comm="android.hardwar" name="logbuffer_maxfg_secondary_monitor" dev="tmpfs" ino=630 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
      12-22 16:24:51.968  1000   865   865 I auditd  : type=1400 audit(0.0:12): avc: denied { read } for comm="android.hardwar" name="logbuffer_dual_batt" dev="tmpfs" ino=1040 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
      
      12-22 16:23:17.056  1000   522   522 I auditd  : type=1400 audit(0.0:4): avc: denied { read } for comm="binder:522_1" name="wakeup65" dev="sysfs" ino=79686 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0
      
      Bug: 263496320
      Test: no dual batt related denied
      Change-Id: I021cd15d771524828a942fe1e4c63e3a24418ae8
      Signed-off-by: default avatarWasb Liu <wasbliu@google.com>
      49cdfcb3
  6. Dec 17, 2022
  7. Dec 15, 2022
  8. Dec 14, 2022
  9. Dec 01, 2022
  10. Nov 28, 2022
  11. Nov 24, 2022
    • Mason Wang's avatar
      Allow dumpstate to access touch vendor nodes[DO NOT MERGE] · 3c82f575
      Mason Wang authored
      Fix following avc denial log:
      avc: denied { read } for name="driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { write } for name="driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { open } for path="/proc/fts/driver_test" dev="proc" ino=4026535583 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/appid" dev="sysfs" ino=110523 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/stm_fts_cmd" dev="sysfs" ino=110529 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { open } for path="/proc/fts_ext/driver_test" dev="proc" ino=4026535585 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { write } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { read } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { read } for name="appid" dev="sysfs" ino=108992 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 bug=b/240632721
      
      
      Bug: 226475119
      Bug: 254164096
      Test: There are no above avc denial logs.
      Change-Id: I0a136a7e259640e3e13ea66c945251cf26878b33
      3c82f575
  12. Nov 23, 2022
  13. Nov 22, 2022
    • Nicole Lee's avatar
      Revert "Allow dumpstate to access touch vendor nodes" · d6fe8df1
      Nicole Lee authored
      This reverts commit b1d4e8ab.
      
      Reason for revert: DroidMonitor: Potential culprit for Bug 260019672 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
      
      Change-Id: I8c3bf9982eb9c163e73e75624fd3265ddaa1de95
      d6fe8df1
  14. Nov 18, 2022
  15. Nov 11, 2022
    • eddielan's avatar
      sepolicy: Allow fingerprint to access fwk hwservice · f544a5a6
      eddielan authored
      11-11 19:57:30.203   464   464 E SELinux : avc:
      denied  { find } for interface=android.frameworks.sensorservice::ISensorManager
      sid=u:r:hal_fingerprint_capacitance:s0 pid=903
      scontext=u:r:hal_fingerprint_capacitance:s0
      tcontext=u:object_r:fwk_sensor_hwservice:s0
      tclass=hwservice_manager permissive=0
      
      Bug: 258783592
      Test: Build pass
      Change-Id: I58a31c04cbb45ab12b0bf42a10c57ddf4f065ee7
      f544a5a6
  16. Nov 03, 2022
  17. Oct 29, 2022
  18. Oct 28, 2022
    • Mason Wang's avatar
      Allow dumpstate to access touch vendor nodes · b1d4e8ab
      Mason Wang authored
      Fix following avc denial log:
      avc: denied { write } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { open } for path="/sys/devices/platform/10950000.spi/spi_master/spi6/spi6.0/stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { read } for name="stm_fts_cmd" dev="sysfs" ino=113133 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 bug=b/240632721
      avc: denied { read } for name="driver_test" dev="proc" ino=4026535565 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 bug=b/240632721
      avc: denied { read } for name="appid" dev="sysfs" ino=108992 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 bug=b/240632721
      
      
      Bug: 226475119
      Bug: 254164096
      Test: There are no above avc denial logs.
      Change-Id: Ie01104ebfb94154584d9d466cb295095eb634f48
      b1d4e8ab
  19. Oct 27, 2022
  20. Oct 26, 2022
    • Darren Hsu's avatar
      sepolicy: remove tracking bugs for PowerStatsHAL and SystemSuspend · 577965ec
      Darren Hsu authored
      
      b/240632970 is not reproducible on TD3A.221020.001.
      b/240632822 has been fixed by ag/20209545.
      
      Bug: 240632970
      Bug: 240632822
      Test: Capture bugreport and check no avc denails
      Change-Id: I9a2290e2857415c3edecd98b88af6382a42530ff
      Signed-off-by: default avatarDarren Hsu <darrenhsu@google.com>
      577965ec
    • eddielan's avatar
      Fix FPS servicemanager sepolicy issue · ef12403d
      eddielan authored
      10-25 03:25:07.740   429   429 I auditd  : type=1400 audit(0.0:4):
      avc: denied { call } for comm="servicemanager"
      scontext=u:r:servicemanager:s0
      tcontext=u:r:hal_fingerprint_capacitance:s0
      tclass=binder permissive=0
      
      Bug: 253533883
      Test: make selinux_policy -j128 && check log on device
      Change-Id: Ic3007d53398eb9770466c24b3aa49c1325bdbb47
      ef12403d
  21. Oct 19, 2022
  22. Oct 18, 2022
  23. Oct 17, 2022
    • eddielan's avatar
      Remove fingerprint tracking bug · 2fef9efc
      eddielan authored
      Patch was merged on ag/19457937
      
      Bug: 240633068
      Test: make selinux_policy -j128
      Change-Id: Ic25e266701993fadc51b12c25c9a170c38e29785
      2fef9efc
  24. Sep 08, 2022
  25. Sep 07, 2022
  26. Aug 25, 2022
  27. Aug 24, 2022
  28. Aug 20, 2022
Loading