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: <20230811093158.1678322-1-leitao@debian.org>
Date: Fri, 11 Aug 2023 02:31:56 -0700
From: Breno Leitao <leitao@...ian.org>
To: rdunlap@...radead.org,
	benjamin.poirier@...il.com,
	davem@...emloft.net,
	kuba@...nel.org,
	edumazet@...gle.com
Cc: netdev@...r.kernel.org,
	pabeni@...hat.com,
	horms@...nel.org
Subject: [PATCH net-next v6 0/2] netconsole: Enable compile time configuration

Enable netconsole features to be set at compilation time. Create two
Kconfig options that allow users to set extended logs and release
prepending features at compilation time.

The first patch de-duplicates the initialization code, and the second
patch adds the support in the de-duplicated code, avoiding touching two
different functions with the same change.

  v1 -> v2:
	* Improvements in the Kconfig help section.

  v2 -> v3:
	* Honour the Kconfig settings when creating sysfs targets
	* Add "by default" in a Kconfig help.

  v3 -> v4:
	* Create an additional patch, de-duplicating the initialization
	  code for netconsole_target, and just patching it.

  v4 -> v5:
	* Remove complex code in the variable initialization.

  v5 -> v6:
	* Return -EINVAL for invalid configuration during
	  initialization.

Breno Leitao (2):
  netconsole: Create a allocation helper
  netconsole: Enable compile time configuration

 drivers/net/Kconfig      | 22 ++++++++++++++++++
 drivers/net/netconsole.c | 48 +++++++++++++++++++++++-----------------
 2 files changed, 50 insertions(+), 20 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ