mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
verifiers: File type for fine-grained signature-verification controlling
Let's provide file type info to the I/O layer. This way verifiers framework and its users will be able to differentiate files and verify only required ones. This is preparatory patch. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
This commit is contained in:
1 parent
f3f8347569
commit
ca0a4f689a
70 files changed
+292
-221
No files matched your search
@@ -696,7 +696,7 @@ syslinux_parse_real (struct syslinux_menu *menu)
|
||||
char *buf = NULL;
|
||||
grub_err_t err = GRUB_ERR_NONE;
|
||||
|
||||
file = grub_file_open (menu->filename);
|
||||
file = grub_file_open (menu->filename, GRUB_FILE_TYPE_CONFIG);
|
||||
if (!file)
|
||||
return grub_errno;
|
||||
while ((grub_free (buf), buf = grub_file_getline (file)))
|
||||
|
||||
Reference in new issue
Block a user