sepolicy: add necessary sepolicy for dual battery
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: Wasb Liu <wasbliu@google.com>
This commit is contained in:
parent
3a92d3d265
commit
49cdfcb3c7
2 changed files with 7 additions and 1 deletions
5
vendor/file_contexts
vendored
5
vendor/file_contexts
vendored
|
@ -15,3 +15,8 @@
|
|||
# Haptics
|
||||
/vendor/bin/hw/android\.hardware\.vibrator-service\.cs40l26-private u:object_r:hal_vibrator_default_exec:s0
|
||||
/dev/gpiochip44 u:object_r:vibrator_device:s0
|
||||
|
||||
# Logbuffer
|
||||
/dev/logbuffer_dual_batt u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_maxfg_secondary u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_maxfg_secondary_monitor u:object_r:logbuffer_device:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue