lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230117124310.16594-1-johan+linaro@kernel.org>
Date:   Tue, 17 Jan 2023 13:43:08 +0100
From:   Johan Hovold <johan+linaro@...nel.org>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     Matthew Garrett <matthew.garrett@...ula.com>,
        Jeremy Kerr <jk@...abs.org>,
        Maximilian Luz <luzmaximilian@...il.com>,
        linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
        Johan Hovold <johan+linaro@...nel.org>
Subject: [PATCH 0/2] efi: efivars: drop kobject from efivars_register()

Since the removal of the deprecated efivars sysfs interface there are
no users of the efivars kobject, which can be removed.

Included is also a related patch changing the return type of
efivar_supports_writes() to match the new efivar_is_available()
function.

Note that I intend to use efivar_is_available() in a driver with
optional EFI support (hence the dummy implementation) and the removal of
the kobject will simplify the upcoming Qualcomm UEFI Secure Application
driver somewhat too.

Johan


Johan Hovold (2):
  efi: efivars: drop kobject from efivars_register()
  efi: efivars: make efivar_supports_writes() return bool

 drivers/firmware/efi/efi.c     |  2 +-
 drivers/firmware/efi/vars.c    | 21 +++++++--------------
 drivers/firmware/google/gsmi.c |  2 +-
 fs/efivarfs/super.c            |  2 +-
 include/linux/efi.h            | 13 ++++++++-----
 5 files changed, 18 insertions(+), 22 deletions(-)

-- 
2.38.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ