Merge "sepolicy: Add missing mirrorlink rules"
This commit is contained in:
commit
6fbbe4eec8
2 changed files with 9 additions and 0 deletions
|
@ -90,3 +90,9 @@ allow mirrorlink sysfs_net:file r_file_perms;
|
||||||
|
|
||||||
# Allow read access to EGL lib
|
# Allow read access to EGL lib
|
||||||
allow mirrorlink system_file:dir r_dir_perms;
|
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);
|
|
@ -43,3 +43,6 @@ binder_call(system_app, smcinvoke_daemon)
|
||||||
binder_call(system_app, mirrorlink);
|
binder_call(system_app, mirrorlink);
|
||||||
# allow system app to connect to mirrorlink_socket
|
# allow system app to connect to mirrorlink_socket
|
||||||
unix_socket_connect(system_app, mirrorlink, mirrorlink);
|
unix_socket_connect(system_app, mirrorlink, mirrorlink);
|
||||||
|
|
||||||
|
# allow system app to set mirrorlink prop
|
||||||
|
set_prop(system_app, vendor_mirrorlink_prop);
|
||||||
|
|
Loading…
Reference in a new issue