mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
* grub-core/commands/verify.c (grub_pubkey_open): Trust procfs.
This commit is contained in:
1 parent
480c89858e
commit
2c2c5c720d
2 files changed
+7
-1
No files matched your search
@@ -835,7 +835,9 @@ grub_pubkey_open (grub_file_t io, const char *filename)
|
||||
|
||||
if (!sec)
|
||||
return io;
|
||||
if (io->device->disk && io->device->disk->dev->id == GRUB_DISK_DEVICE_MEMDISK_ID)
|
||||
if (io->device->disk &&
|
||||
(io->device->disk->dev->id == GRUB_DISK_DEVICE_MEMDISK_ID
|
||||
|| io->device->disk->dev->id == GRUB_DISK_DEVICE_PROCFS_ID))
|
||||
return io;
|
||||
fsuf = grub_malloc (grub_strlen (filename) + sizeof (".sig"));
|
||||
if (!fsuf)
|
||||
|
||||
Reference in new issue
Block a user