mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lbutils/mkhtemp: use openat_on_eintr
missing EINTR handling fixed Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -676,7 +676,7 @@ mkhtemp_tmpfile_linux(int dirfd,
|
|||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/* create unnamed tmpfile */
|
/* create unnamed tmpfile */
|
||||||
tmpfd = openat(dirfd, ".",
|
tmpfd = openat_on_eintr(dirfd, ".",
|
||||||
O_TMPFILE | O_RDWR | O_CLOEXEC, 0600);
|
O_TMPFILE | O_RDWR | O_CLOEXEC, 0600);
|
||||||
|
|
||||||
if (tmpfd < 0)
|
if (tmpfd < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user