diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-31 11:41:27 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-31 11:45:21 +0100 |
| commit | aacf9fb6c9f6f364c8d1799b02f4d5fc0f63e98f (patch) | |
| tree | a166d0f2630db46c36266fdeffe7137bb63ac0ff /util/libreboot-utils/lib/io.c | |
| parent | f2dd830c7b9f283ba8db26c7cbb29fb1763f86aa (diff) | |
libreboot-utils: unified EINTR loop handling
absolutely unified.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/io.c')
| -rw-r--r-- | util/libreboot-utils/lib/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/io.c b/util/libreboot-utils/lib/io.c index 4938cdc8..3b3a892f 100644 --- a/util/libreboot-utils/lib/io.c +++ b/util/libreboot-utils/lib/io.c @@ -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); |
