From a505cb261a22194c9c7f4f1a3426d3ce45a3bdf2 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 22 Mar 2026 19:49:50 +0000 Subject: WIP: remove local mode in mkhtemp + cleanup bloat unveil can get pledged Signed-off-by: Leah Rowe --- util/nvmutil/include/common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'util/nvmutil/include') diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index d433197d..930150df 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -2,6 +2,7 @@ * Copyright (c) 2022-2026 Leah Rowe */ + #ifndef COMMON_H #define COMMON_H @@ -477,8 +478,8 @@ const char *getnvmprogname(void); /* libc hardening */ -char *new_tmpfile(int *fd, int local, const char *path); -char *new_tmplate(int *fd, int local, const char *path); +char *new_tmpfile(int *fd); +char *new_tmplate(int *fd); int mkhtemp(int *fd, struct stat *st, char *template, int dirfd, const char *fname, struct stat *st_dir_initial); -- cgit v1.2.1