Home
last modified time | relevance | path

Searched refs:patchfile (Results 1 – 1 of 1) sorted by relevance

/external/fsverity-utils/
Delide_patch.c70 struct filedes patchfile = { .fd = -1 }; in parse_patch_option() local
84 if (!open_file(&patchfile, sep + 1, O_RDONLY, 0)) in parse_patch_option()
86 if (!get_file_size(&patchfile, &length)) in parse_patch_option()
89 error_msg("patch file '%s' is empty", patchfile.name); in parse_patch_option()
94 patchfile.name, FS_VERITY_MAX_PATCH_SIZE); in parse_patch_option()
101 if (!full_read(&patchfile, ext->data, length)) { in parse_patch_option()
106 filedes_close(&patchfile); in parse_patch_option()