libreboot-utils: unified EINTR loop handling

absolutely unified.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-31 11:41:27 +01:00
parent f2dd830c7b
commit aacf9fb6c9
5 changed files with 216 additions and 228 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ open_gbe_file(void)
f->gbe_fd = -1;
open_on_eintr(f->fname, &f->gbe_fd,
open_file_on_eintr(f->fname, &f->gbe_fd,
O_NOFOLLOW | O_CLOEXEC | O_NOCTTY,
((cmd->flags & O_ACCMODE) == O_RDONLY) ? 0400 : 0600,
&f->gbe_st);