Aayush Gupta acd62758d9 non_plat: Label /dev/*rpmb* and grant tee permissions to manage it
/dev/*rpmb* devices are accessed by tee. Label it and allow tee required
permissions to manage it.

Denial observed without this change:
[   46.559953] .(2)[399:logd.auditd]type=1400 audit(1609128921.644:391): avc: denied { ioctl } for comm="teei_daemon" path="/dev/rpmb0" dev="tmpfs" ino=17454 ioctlcmd=0x6 scontext=u:r:init:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

Test: Boot and observe that denial no longer appears

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I3499e2a3ba177b8e69d8cdbb76939daf3f8bbc7b
2020-12-30 16:18:06 +05:30
..
2020-01-18 10:21:33 +08:00
2020-01-18 10:11:25 +08:00
2020-01-18 10:17:25 +08:00
2020-01-18 10:20:40 +08:00
2020-01-18 10:19:04 +08:00
2020-01-18 10:17:09 +08:00
2020-01-18 10:20:24 +08:00