platform_system_security/keystore/keystore.rc
Pavel Grafov ff311b4739 Log key import, destruction and generation failure for audit.
This is required by NIAP audit logging requirements.
import and destruction events contain key name and uid.

Keystore is added to "log" secondary group to be able to write
to security buffer.

Test: manual, imported and deleted key via Settings while
      monitoring adb shell su - logcat -b security
Bug:70886042
Change-Id: Iebb29380da5251ff66609884e615aabc379cd389
2018-01-29 20:11:06 +00:00

5 lines
172 B
Text

service keystore /system/bin/keystore /data/misc/keystore
class main
user keystore
group keystore drmrpc readproc log
writepid /dev/cpuset/foreground/tasks