diff options
author | 2012-11-09 21:02:56 +0000 | |
---|---|---|
committer | 2012-11-13 12:33:21 +0000 | |
commit | 89d16665d388837b30972081d97b814be26d68a2 (patch) | |
tree | 0fd95e1e9d6886c27e7d9b7eed7464cd2e22988d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efivarfs: Fix return value of efivarfs_file_write() (diff) | |
download | linux-dev-89d16665d388837b30972081d97b814be26d68a2.tar.xz linux-dev-89d16665d388837b30972081d97b814be26d68a2.zip |
efivarfs: Use query_variable_info() to limit kmalloc()
We don't want someone who can write EFI variables to be able to
allocate arbitrarily large amounts of memory, so cap it to something
sensible like the amount of free space for EFI variables.
Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions