Skip to content
Snippets Groups Projects
Commit 730a69fb authored by maxwen's avatar maxwen Committed by Nick
Browse files

add vnc server integration bits

[nift4: squashed "sepolicy fix for vncflinger_exec"]
parent 0b97e652
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,7 @@ on property:persist.vnc.enable=true
on property:persist.vnc.enable=false
stop vncflinger
on boot
# vnc
chmod 0666 /dev/uinput
/system/bin/vncflinger u:object_r:vncflinger_exec:s0
/system/bin/vncpasswd u:object_r:vncflinger_exec:s0
allow system_app vncflinger_exec:file { r_file_perms execute execute_no_trans map };
# uinput
allow system_app uhid_device:chr_file rw_file_perms;
type vncflinger_exec, exec_type, file_type;
type vncflinger_exec, exec_type, file_type, system_file_type;
type vncflinger, domain;
typeattribute vncflinger coredomain;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment