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: <20240711170727.it.194-kees@kernel.org>
Date: Thu, 11 Jul 2024 10:11:11 -0700
From: Kees Cook <kees@...nel.org>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: Kees Cook <kees@...nel.org>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	"Borislav Petkov (AMD)" <bp@...en8.de>,
	Baskov Evgeniy <baskov@...ras.ru>,
	Ingo Molnar <mingo@...nel.org>,
	Radek Podgorny <radek@...gorny.cz>,
	linux-kernel@...r.kernel.org,
	linux-efi@...r.kernel.org,
	linux-hardening@...r.kernel.org
Subject: [PATCH v2 0/2] efi: Replace efi_memory_attributes_table_t 0-sized array with flexible array

Hi,

Update efi_memory_attributes_table_t to use a proper flexible
array. Renames efi_early_memdesc_ptr() to efi_memdesc_ptr() so it more
accurately reflects its usage.

Thanks!

-Kees

 v2:
  - rename efi_early_memdesc_ptr() to efi_memdesc_ptr()
  - add comment about reading efi_memdesc_ptr() to efi_memory_attributes_table_t
 v1: https://lore.kernel.org/lkml/20240710225538.work.224-kees@kernel.org/

Kees Cook (2):
  efi: Rename efi_early_memdesc_ptr() to efi_memdesc_ptr()
  efi: Replace efi_memory_attributes_table_t 0-sized array with flexible
    array

 drivers/firmware/efi/libstub/relocate.c          |  2 +-
 drivers/firmware/efi/libstub/unaccepted_memory.c |  2 +-
 drivers/firmware/efi/libstub/x86-stub.c          |  2 +-
 drivers/firmware/efi/memattr.c                   |  2 +-
 include/linux/efi.h                              | 10 +++++++---
 5 files changed, 11 insertions(+), 7 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ