summaryrefslogtreecommitdiff
path: root/config/flashprog/patches
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-03 21:43:32 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-03 21:43:32 +0000
commit21b8de87ff5f89d8fec20c2228b5296714ff48a5 (patch)
treed6fc794e0cb1a473e71bd403b40bde15bd286190 /config/flashprog/patches
parent493e3cf0697ddedb7cf576a92ba890315356a46a (diff)
util/nvmutil: re-try reads if errno is EINTR
this is a bit of fault tolerance. a bit bloated too, but it should make the code more resilient. we limited the number of retries to 200 retries. EINTR is when the syscall (read/pread) is interrupted. we still error out on other conditions; we also still error out on EINTR if the number of re-tries surpasses 200. during this re-try loop, if *another* error occurs, we exit as normal. this is done for both files: the gbe file, and /dev/urandom. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/flashprog/patches')
0 files changed, 0 insertions, 0 deletions