From 5b26343e24fb10ac9a551902f813f956fd83bbf8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 28 Mar 2026 09:17:44 +0000 Subject: TODO Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/mkhtemp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'util/libreboot-utils/lib') diff --git a/util/libreboot-utils/lib/mkhtemp.c b/util/libreboot-utils/lib/mkhtemp.c index 532d93c7..61479b25 100644 --- a/util/libreboot-utils/lib/mkhtemp.c +++ b/util/libreboot-utils/lib/mkhtemp.c @@ -513,6 +513,17 @@ sticky_hell: * file ownership under hardened mode * (only lets you touch your own files/dirs) */ +/* + TODO: + some variables e.g. template vs suffix, + assumes they match. + we should test this explicitly, + but the way this is called is + currently safe - this would however + be nice for future library use + by outside projects. + this whole code needs to be reorganised +*/ int mkhtemp(int *fd, struct stat *st, -- cgit v1.2.1