Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 624aa1b8 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am ae7c8359: am 7b6e1ba2: am 94b4f9a5: Merge "Label /dev/ttyGF* as serial_device"

* commit 'ae7c8359':
  Label /dev/ttyGF* as serial_device
parents eb5a779e ae7c8359
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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 };
+1 −1
Original line number Diff line number Diff line
@@ -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;