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
Change-Id: I5dbb87770b1a3100c6c122bb39ca854006bb0b0d
Topic: zygote-prefork
Test: build image; flash device; launch apps
This commit is contained in:
Chris Wailes 2018-11-27 11:25:25 -08:00 committed by Mathieu Chartier
parent abc1c8b905
commit ca11579b6c
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