diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-31 12:04:37 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-31 12:04:37 +0100 |
| commit | bca09eebf3db31f8dafde9aa3bdaa6bf5d5c5d0d (patch) | |
| tree | b97606f85336aeb6bf877716a8182504819187f9 /util/libreboot-utils | |
| parent | 277c0c8e87a1ad3012b606d17c8afc3e785f3d39 (diff) | |
lbutils/file: remove ETXTBSY from exemption on io
obsolete. ripe for abuse. do not permit this error.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils')
| -rw-r--r-- | util/libreboot-utils/lib/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/libreboot-utils/lib/file.c b/util/libreboot-utils/lib/file.c index 3f94a4ab..f3fff555 100644 --- a/util/libreboot-utils/lib/file.c +++ b/util/libreboot-utils/lib/file.c @@ -1003,8 +1003,7 @@ close_on_eintr(int *fd) if ((rval == -1) && \ (errno == EINTR || \ errno == EAGAIN || \ - errno == EWOULDBLOCK || \ - errno == ETXTBSY)) \ + errno == EWOULDBLOCK)) \ return 1; \ if (rval >= 0 && !errno) \ errno = saved_errno; \ |
