summaryrefslogtreecommitdiff
path: root/util/libreboot-utils
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-03 03:06:06 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-10 22:59:08 +0100
commit9dab2ffa297a81d4064385bc5813bf870bdacf47 (patch)
treee84a47a75cfc0c75ab334f1a55140d424cf93acd /util/libreboot-utils
parentf055809c17a8a29d9192b79a8fe0a0c0bc1660a0 (diff)
lbutils/mkhtemp: use openat_on_eintr
missing EINTR handling fixed Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils')
-rw-r--r--util/libreboot-utils/lib/mkhtemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/mkhtemp.c b/util/libreboot-utils/lib/mkhtemp.c
index 69e9f59d..d9411104 100644
--- a/util/libreboot-utils/lib/mkhtemp.c
+++ b/util/libreboot-utils/lib/mkhtemp.c
@@ -676,7 +676,7 @@ mkhtemp_tmpfile_linux(int dirfd,
goto err;
/* create unnamed tmpfile */
- tmpfd = openat(dirfd, ".",
+ tmpfd = openat_on_eintr(dirfd, ".",
O_TMPFILE | O_RDWR | O_CLOEXEC, 0600);
if (tmpfd < 0)