Skip to content
Snippets Groups Projects
  • Matt Fleming's avatar
    e33655a3
    efivars: Add compatibility code for compat tasks · e33655a3
    Matt Fleming authored
    
    It seems people are using 32-bit efibootmgr on top of 64-bit kernels,
    which will currently fail horribly when using the efivars interface,
    which is the traditional efibootmgr backend (the other being efivarfs).
    
    Since there is no versioning info in the data structure, figure out when
    we need to munge the structure data via judicious use of
    is_compat_task().
    
    Cc: Mike Waychison <mikew@google.com>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    e33655a3
    History
    efivars: Add compatibility code for compat tasks
    Matt Fleming authored
    
    It seems people are using 32-bit efibootmgr on top of 64-bit kernels,
    which will currently fail horribly when using the efivars interface,
    which is the traditional efibootmgr backend (the other being efivarfs).
    
    Since there is no versioning info in the data structure, figure out when
    we need to munge the structure data via judicious use of
    is_compat_task().
    
    Cc: Mike Waychison <mikew@google.com>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.