From 49cac232d8e3cc6147a530d4f7971832f6b869b5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 28 Mar 2026 08:09:14 +0000 Subject: libreboot-utils: much stricter open() handling abort on error, and do EINTR looping Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/libreboot-utils/include/common.h') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index d41c4a77..d9f327ee 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -545,6 +545,7 @@ int fs_rename_at(int olddirfd, const char *old, int newdirfd, const char *new); int fs_open(const char *path, int flags); void free_and_set_null(char **buf); +void open_on_eintr(char *path, int *fd, int flags, mode_t mode); struct filesystem *rootfs(void); int fs_resolve_at(int dirfd, const char *path, int flags); int fs_next_component(const char **p, -- cgit v1.2.1