aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2012-11-09 21:02:56 +0000
committerMatt Fleming <[email protected]>2012-11-13 12:33:21 +0000
commit89d16665d388837b30972081d97b814be26d68a2 (patch)
tree0fd95e1e9d6886c27e7d9b7eed7464cd2e22988d /tools/perf/util/trace-event-scripting.c
parentcfcf2f11708f934d2bd294f973c2fcb0cc54f293 (diff)
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 <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Alan Cox <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions