Added a new socket to Zygote init scripts.

This change adds new socket declarations to the init scripts for the
Zygote processes.  This socket is used for communication between the
System Server and the Blastula pool.

Bug: 68253328
Topic: zygote-prefork
Test: build image; flash device; launch apps
Change-Id: I5dbb87770b1a3100c6c122bb39ca854006bb0b0d
Merged-In: I5dbb87770b1a3100c6c122bb39ca854006bb0b0d
This commit is contained in:
Chris Wailes 2018-11-27 11:25:25 -08:00
parent a5e0d695fa
commit e45bda10e2
4 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
user root
group root readproc reserved_disk
socket zygote stream 660 root system
socket blastula_pool stream 660 root system
updatable
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on

View file

@ -4,6 +4,7 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s
user root
group root readproc reserved_disk
socket zygote stream 660 root system
socket blastula_pool stream 660 root system
updatable
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
@ -20,6 +21,7 @@ service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote
user root
group root readproc reserved_disk
socket zygote_secondary stream 660 root system
socket blastula_pool_secondary stream 660 root system
updatable
onrestart restart zygote
writepid /dev/cpuset/foreground/tasks

View file

@ -4,6 +4,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
user root
group root readproc reserved_disk
socket zygote stream 660 root system
socket blastula_pool stream 660 root system
updatable
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on

View file

@ -4,6 +4,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
user root
group root readproc reserved_disk
socket zygote stream 660 root system
socket blastula_pool stream 660 root system
updatable
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
@ -20,6 +21,7 @@ service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote
user root
group root readproc reserved_disk
socket zygote_secondary stream 660 root system
socket blastula_pool_secondary stream 660 root system
updatable
onrestart restart zygote
writepid /dev/cpuset/foreground/tasks