From bca09eebf3db31f8dafde9aa3bdaa6bf5d5c5d0d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 31 Mar 2026 12:04:37 +0100 Subject: lbutils/file: remove ETXTBSY from exemption on io obsolete. ripe for abuse. do not permit this error. Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util/libreboot-utils') 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; \ -- cgit v1.2.1