am 7b6e1ba2: am 94b4f9a5: Merge "Label /dev/ttyGF* as serial_device"
* commit '7b6e1ba2fa4edb757ff9e1c08deee9edf06fc1cc': Label /dev/ttyGF* as serial_device
This commit is contained in:
commit
ae7c835923
|
@ -4,6 +4,7 @@
|
|||
/dev/goldfish_pipe u:object_r:qemu_device:s0
|
||||
/dev/qemu_.* u:object_r:qemu_device:s0
|
||||
/dev/socket/qemud u:object_r:qemud_socket:s0
|
||||
/dev/ttyGF[0-9]* u:object_r:serial_device:s0
|
||||
/system/bin/qemud u:object_r:qemud_exec:s0
|
||||
/sys/qemu_trace(/.*)? -- u:object_r:sysfs_writable:s0
|
||||
/system/etc/init.goldfish.sh u:object_r:goldfish_setup_exec:s0
|
||||
|
|
|
@ -6,5 +6,5 @@ domain_auto_trans(init, logcat_exec, goldfish_logcat)
|
|||
# Read from logd.
|
||||
read_logd(goldfish_logcat)
|
||||
|
||||
# Write to /dev/ttyS2
|
||||
# Write to /dev/ttyS2 and /dev/ttyGF2.
|
||||
allow goldfish_logcat serial_device:chr_file { write open };
|
||||
|
|
|
@ -4,5 +4,5 @@ type qemud_exec, exec_type, file_type;
|
|||
|
||||
init_daemon_domain(qemud)
|
||||
|
||||
# Access /dev/ttyS1.
|
||||
# Access /dev/ttyS1 and /dev/ttyGF1.
|
||||
allow qemud serial_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Reference in New Issue