diff options
author | Bill Peckham <bpeckham@google.com> | 2019-03-28 18:42:13 -0700 |
---|---|---|
committer | Bill Peckham <bpeckham@google.com> | 2019-03-28 18:42:13 -0700 |
commit | 08ba1ad9b1a6406a67feddeff211387225ccd603 (patch) | |
tree | c239a341f606b9f8814e6895d2e44aafbd917ec4 /tests/component/install_test.cpp | |
parent | 047582b5066afc3db0df2e38c0065ecef87a585d (diff) | |
download | android_bootable_recovery-08ba1ad9b1a6406a67feddeff211387225ccd603.tar.gz android_bootable_recovery-08ba1ad9b1a6406a67feddeff211387225ccd603.tar.bz2 android_bootable_recovery-08ba1ad9b1a6406a67feddeff211387225ccd603.zip |
Use flags = 0 to avoid fd closing for child updater process
If we use the default parameter we'll get O_CLOEXEC, which will close the fd
that we pass to the child process, which will cause it to fail. Passing zero
avoids the problem.
Bug: 122813742
Test: Verify that non-A/B OTA update is successful.
Change-Id: Ia61bc7260f17d9209715583e6ded69e1196ed3f6
Diffstat (limited to 'tests/component/install_test.cpp')
0 files changed, 0 insertions, 0 deletions