mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
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>
This commit is contained in:
@@ -1003,8 +1003,7 @@ close_on_eintr(int *fd)
|
|||||||
if ((rval == -1) && \
|
if ((rval == -1) && \
|
||||||
(errno == EINTR || \
|
(errno == EINTR || \
|
||||||
errno == EAGAIN || \
|
errno == EAGAIN || \
|
||||||
errno == EWOULDBLOCK || \
|
errno == EWOULDBLOCK)) \
|
||||||
errno == ETXTBSY)) \
|
|
||||||
return 1; \
|
return 1; \
|
||||||
if (rval >= 0 && !errno) \
|
if (rval >= 0 && !errno) \
|
||||||
errno = saved_errno; \
|
errno = saved_errno; \
|
||||||
|
|||||||
Reference in New Issue
Block a user