[PATCH 0/4] Stop passing user addresses to the firmware

Matt Fleming matt at console-pimps.org
Thu Apr 3 14:23:19 UTC 2014


From: Matt Fleming <matt.fleming at intel.com>

This patch series is based on a patch from Borislav from last year.

In recent kernel versions all EFI runtime calls are done with dedicated
page tables that do not include mappings for user space. Running on one
of these kernels basically results in all the fwts uefi tests crashing.

The solution is to apply copy_*_user() more liberally.

Matt Fleming (4):
  efi_runtime: Set default value for $KVER
  efi_runtime: Refactor ioctl code into helper functions
  efi_runtime: Group kernel version dependent functions
  efi_runtime: Do not pass user addresses to firmware

 efi_runtime/Makefile      |   1 +
 efi_runtime/efi_runtime.c | 593 +++++++++++++++++++++++++++++++++-------------
 2 files changed, 428 insertions(+), 166 deletions(-)

-- 
1.8.5.3




More information about the fwts-devel mailing list