Merge "sepolicy: Add missing mirrorlink rules"

This commit is contained in:
qctecmdr Service 2019-02-19 20:14:00 -08:00 committed by Gerrit - the friendly Code Review server
commit 6fbbe4eec8
2 changed files with 9 additions and 0 deletions

View file

@ -90,3 +90,9 @@ allow mirrorlink sysfs_net:file r_file_perms;
# Allow read access to EGL lib
allow mirrorlink system_file:dir r_dir_perms;
# Allow access to video encoder device.
allow mirrorlink video_device:chr_file rw_file_perms;
# Allow read access to mirrorlink specific property type.
get_prop(mirrorlink, vendor_mirrorlink_prop);

View file

@ -43,3 +43,6 @@ binder_call(system_app, smcinvoke_daemon)
binder_call(system_app, mirrorlink);
# allow system app to connect to mirrorlink_socket
unix_socket_connect(system_app, mirrorlink, mirrorlink);
# allow system app to set mirrorlink prop
set_prop(system_app, vendor_mirrorlink_prop);