emulator: fix widevine drm vndbinder denial
[ 86.252399] type=1400 audit(1503684692.153:25): avc: denied { read write } for pid=4160 comm="android.hardwar" name="vndbinder" dev="tmpfs" ino=5163 scontext=u:r:hal_drm_widevine:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=0
BUG: 64726466
Test: build sdk_gphone_x86-user target, launch it
and the above denial should be fixed.
Change-Id: Ied1268878236c42fbb0751a0f33014b332d78c32
This commit is contained in:
@@ -8,4 +8,5 @@ init_daemon_domain(hal_drm_widevine)
|
||||
allow hal_drm mediacodec:fd use;
|
||||
allow hal_drm { appdomain -isolated_app }:fd use;
|
||||
|
||||
vndbinder_use(hal_drm_widevine);
|
||||
hal_client_domain(hal_drm_widevine, hal_graphics_composer);
|
||||
|
||||
Reference in New Issue
Block a user