commit | 1193286ebe0b443972e68ff62d0b4fd960bb3412 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Tue Dec 18 16:35:29 2018 -0800 |
committer | Sen Jiang <senj@google.com> | Fri Dec 21 11:21:02 2018 -0800 |
tree | 20d5e8dedfac5e0e036c71f1747d4cadea596f8d | |
parent | f6035ae5e8d20900e7903efa2807ce9869e2a057 [diff] |
Process: allow closed target fd. The comment suggest that the fstat() check is to simplify the logic to dup2, this patch switch to use base::ShuffleFileDescriptors() to handle that logic so that we can allow closed fd. Bug: 121177337 Test: unit tests Change-Id: I9fdb0cd00fb371ebcd90a3d6e91a353159ab8413