* grub-core/commands/verify.c (grub_pubkey_open): Trust procfs.
This commit is contained in:
parent
480c89858e
commit
2c2c5c720d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2014-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/verify.c (grub_pubkey_open): Trust procfs.
|
||||||
|
|
||||||
2014-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
2014-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/verify.c (grub_pubkey_open): Fix memdisk
|
* grub-core/commands/verify.c (grub_pubkey_open): Fix memdisk
|
||||||
|
|
|
@ -835,7 +835,9 @@ grub_pubkey_open (grub_file_t io, const char *filename)
|
||||||
|
|
||||||
if (!sec)
|
if (!sec)
|
||||||
return io;
|
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;
|
return io;
|
||||||
fsuf = grub_malloc (grub_strlen (filename) + sizeof (".sig"));
|
fsuf = grub_malloc (grub_strlen (filename) + sizeof (".sig"));
|
||||||
if (!fsuf)
|
if (!fsuf)
|
||||||
|
|
Loading…
Reference in a new issue