summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2022-07-08 11:24:34 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2022-07-13 10:43:08 +0000
commite2727a888168568b5e747fbb613be137292c463e (patch)
tree2a2dcc660d68dd695012556aad4ca6e56719b174 /libs/ultrahdr/jpegencoderhelper.cpp
parent46f60be4041685b74ad8bff2f14dbc5896e16e1e (diff)
installd: Wait indefinitely for the subprocess if pidfd_open fails.
In Android T we introduced a feature in installd, which is to kill the subprocess that times out. This feature is implemented by a syscall pidfd_open, which requires kernel 5.4 or above, so it fails on older kernels, and therefore causes installd unable to invoke dex2oat, etc., making the device unable to do any app compilation. After this change, if pidfd_open fails, installd will wait indefinitely for the subprocess, which is the behavior in Android S. Bug: 238611524 Test: Presubmit Change-Id: I12e492937b876b5b312b3f8eedce6e5d5d2a4a4e Merged-In: I12e492937b876b5b312b3f8eedce6e5d5d2a4a4e (cherry picked from commit 501af5a844821ef2ad3f89906893640c18ba848c)
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions