commit | 81cc119eff846ccb55af53f80b2ac55a50a0f039 | [log] [tgz] |
---|---|---|
author | Konstantin Vyshetsky <vkon@google.com> | Thu Nov 04 10:27:06 2021 -0700 |
committer | Konstantin Vyshetsky <vkon@google.com> | Thu Nov 04 12:05:48 2021 -0700 |
tree | 2852a0971bb0ff7aa50178630033f862fc7a1ce5 | |
parent | 52a213518035d1c826395a6d01f3385088504e11 [diff] |
fastbootd: allow passage of flags to open partition Allow caller to pass additional flags when opening a partition. Obsolete usage of boolean read, and make previous callers use O_RDONLY instead. Explicitly OR (O_EXCL | O_CLOEXEC | O_BINARY) to keep existing design working as is. Test: flash locally and reach home screen Bug: 205151372 Signed-off-by: Konstantin Vyshetsky <vkon@google.com> Change-Id: I48fbca459a17fcf0b0926ab339585e3bd8e31e35