diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-22 23:37:43 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-22 23:43:03 +0000 |
| commit | 1684f475cda9219db7a593b6fa5345c7185117f3 (patch) | |
| tree | 2ea2829360ccec0a036ef26f38638bf89d8640ae /util/nvmutil/include/common.h | |
| parent | cf4be895f9e3c40cebc7c85ee049386b927d1ee3 (diff) | |
WIP identity check unification
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include/common.h')
| -rw-r--r-- | util/nvmutil/include/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index 6ae7af04..0fedeedd 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -330,6 +330,8 @@ int fd_verify_regular(int fd, int fd_verify_identity(int fd, const struct stat *expected, struct stat *out); +int fd_verify_dir_identity(int fd, + const struct stat *expected); 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); |
