Loading core/java/android/os/ZygoteProcess.java +2 −2 Original line number Diff line number Diff line Loading @@ -398,8 +398,8 @@ public class ZygoteProcess { } } /** * See com.android.internal.os.SystemZygoteInit.readArgumentList() /* * See com.android.internal.os.ZygoteArguments.parseArgs() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count Loading core/java/com/android/internal/os/Zygote.java +0 −11 Original line number Diff line number Diff line Loading @@ -767,17 +767,6 @@ public final class Zygote { * @throws IOException passed straight through */ static String[] readArgumentList(BufferedReader socketReader) throws IOException { /** * See android.os.Process.zygoteSendArgsAndGetPid() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count * * After the zygote process reads these it will write the pid of * the child or -1 on failure. */ int argc; try { Loading core/java/com/android/internal/os/ZygoteArguments.java +11 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,17 @@ class ZygoteArguments { * Per security review bug #1112214, duplicate args are disallowed in critical cases to make * injection harder. */ private void parseArgs(String[] args) throws IllegalArgumentException { private void parseArgs(String[] args) throws IllegalArgumentException { /* * See android.os.ZygoteProcess.zygoteSendArgsAndGetResult() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count * * After the zygote process reads these it will write the pid of * the child or -1 on failure. */ int curArg = 0; boolean seenRuntimeArgs = false; Loading Loading
core/java/android/os/ZygoteProcess.java +2 −2 Original line number Diff line number Diff line Loading @@ -398,8 +398,8 @@ public class ZygoteProcess { } } /** * See com.android.internal.os.SystemZygoteInit.readArgumentList() /* * See com.android.internal.os.ZygoteArguments.parseArgs() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count Loading
core/java/com/android/internal/os/Zygote.java +0 −11 Original line number Diff line number Diff line Loading @@ -767,17 +767,6 @@ public final class Zygote { * @throws IOException passed straight through */ static String[] readArgumentList(BufferedReader socketReader) throws IOException { /** * See android.os.Process.zygoteSendArgsAndGetPid() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count * * After the zygote process reads these it will write the pid of * the child or -1 on failure. */ int argc; try { Loading
core/java/com/android/internal/os/ZygoteArguments.java +11 −2 Original line number Diff line number Diff line Loading @@ -217,8 +217,17 @@ class ZygoteArguments { * Per security review bug #1112214, duplicate args are disallowed in critical cases to make * injection harder. */ private void parseArgs(String[] args) throws IllegalArgumentException { private void parseArgs(String[] args) throws IllegalArgumentException { /* * See android.os.ZygoteProcess.zygoteSendArgsAndGetResult() * Presently the wire format to the zygote process is: * a) a count of arguments (argc, in essence) * b) a number of newline-separated argument strings equal to count * * After the zygote process reads these it will write the pid of * the child or -1 on failure. */ int curArg = 0; boolean seenRuntimeArgs = false; Loading