diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-22 19:49:50 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-22 20:01:11 +0000 |
| commit | a505cb261a22194c9c7f4f1a3426d3ce45a3bdf2 (patch) | |
| tree | 49c19d4d1ebaebd2946c5300aef9b8279c354166 /util/nvmutil/include/common.h | |
| parent | b8ababa2beb1b5466b6ba2062e52be36a73d654e (diff) | |
WIP: remove local mode in mkhtemp + cleanup
bloat
unveil can get pledged
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include/common.h')
| -rw-r--r-- | util/nvmutil/include/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <leah@libreboot.org> */ + #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); |
