commit | 9d66fa0460a29800ef8d273e84b2510df03c55b6 | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@google.com> | Mon Mar 19 17:47:06 2018 -0400 |
committer | Torne (Richard Coles) <torne@google.com> | Mon Mar 19 17:47:06 2018 -0400 |
tree | f2ec4129bd352e1aefaba6f3597e738fd66ce05d | |
parent | 89b182890c15451e75c5ccf938f2de833b757bd6 [diff] |
Don't try to create a process group when not root. The WebView zygote doesn't run with uid 0 and so can't create a process group, since the directory in the cgroupfs is only writable by root. Skip this when the zygote isn't running with uid 0 to avoid the error being printed, as this causes misattribution of bugs. Bug: 62435375 Test: use WebView, check log Change-Id: I50164bba5ac7587933d58ca0595336ba4fe33728