]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
efi: Make our variable validation list include the guid
authorPeter Jones <pjones@redhat.com>
Mon, 8 Feb 2016 19:48:14 +0000 (14:48 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 12 Apr 2016 02:44:23 +0000 (22:44 -0400)
commitc3f517d4cd9a1478ae99f873697444a8690de482
tree64757e4d2bb8efe687cc933e23c7b3ab9864b04a
parentd5181a51587102a71e7b05021603693f463dcab2
efi: Make our variable validation list include the guid

[ Upstream commit 8282f5d9c17fe15a9e658c06e3f343efae1a2a2f ]

All the variables in this list so far are defined to be in the global
namespace in the UEFI spec, so this just further ensures we're
validating the variables we think we are.

Including the guid for entries will become more important in future
patches when we decide whether or not to allow deletion of variables
based on presence in this list.

Signed-off-by: Peter Jones <pjones@redhat.com>
Tested-by: Lee, Chun-Yi <jlee@suse.com>
Acked-by: Matthew Garrett <mjg59@coreos.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/firmware/efi/efivars.c
drivers/firmware/efi/vars.c
include/linux/efi.h