diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-22 21:59:22 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-22 23:27:09 +0000 |
| commit | 79376a900a72f47e5f18523d8d2d16c1bbd87438 (patch) | |
| tree | 4c6e7b532541581c16dc10caffd259f79a9952e3 /util/nvmutil/include/common.h | |
| parent | ca92e7831abe1ef26b7680c66f8ba06ddc68f076 (diff) | |
WIP cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include/common.h')
| -rw-r--r-- | util/nvmutil/include/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index e856664f..6ae7af04 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -324,6 +324,12 @@ size_t conv_argv_part_num(const char *part_str); */ void open_gbe_file(void); +int fd_verify_regular(int fd, + const struct stat *expected, + struct stat *out); +int fd_verify_identity(int fd, + const struct stat *expected, + struct stat *out); int is_owner(struct stat *st); int lock_file(int fd, int flags); int same_file(int fd, struct stat *st_old, int check_size); |
