summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2022-11-04 16:58:53 +1100
committerAnastasia Klimchuk <aklm@chromium.org>2022-12-09 00:12:46 +0000
commit67a393b88a96c03b7f7fd555de68e56d2de03e9e (patch)
tree4590ca17c95a788120b42a6b11fe9ccf27b51ddd /ichspi.c
parent35243fdd7d51dff6db081f80f32f5e33f5f2ac68 (diff)
downloadflashrom-67a393b88a96c03b7f7fd555de68e56d2de03e9e.tar.gz
flashrom-67a393b88a96c03b7f7fd555de68e56d2de03e9e.tar.bz2
flashrom-67a393b88a96c03b7f7fd555de68e56d2de03e9e.zip
tests: Mock the mode_t variant of open
open has a second form with a mode_t argument. When mocking without this argument a caller trying to O_CREAT would have their mode_t argument discarded and a random stack variable would be used instead. BUG=b:187647884 BRANCH=None TEST=meson test Change-Id: I8c134e6d36a248d0f51985e389085a9e585fb83d Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69263 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'ichspi.c')
0 files changed, 0 insertions, 0 deletions