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: <20250123123249.4081674-1-cascardo@igalia.com>
Date: Thu, 23 Jan 2025 09:32:45 -0300
From: Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
To: linux-kernel@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Dirk VanDerMerwe <dirk.vandermerwe@...hos.com>,
	Vimal Agrawal <vimal.agrawal@...hos.com>,
	kernel-dev@...lia.com,
	Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
Subject: [PATCH 0/4] char: misc: improve test and dynamic allocation

These apply on top of commit 6d04d2b554b1 ("misc: misc_minor_alloc to use
ida for all dynamic/misc dynamic minors") and commit 37df9043329b
("misc:minor basic kunit tests"), both at char-misc-next.

The tests are written in order to detect regressions around the bug fixed
by commit 6d04d2b554b1 ("misc: misc_minor_alloc to use ida for all
dynamic/misc dynamic minors") and the followup fixing commits "char: misc:
restrict the dynamic range to exclude reserved minors" and "char: misc:
deallocate static minor in error path".

Thadeu Lima de Souza Cascardo (4):
  char: misc: improve testing Kconfig description
  char: misc: add test cases
  char: misc: restrict the dynamic range to exclude reserved minors
  char: misc: deallocate static minor in error path

 drivers/char/misc.c             |   6 +-
 drivers/misc/misc_minor_kunit.c | 515 +++++++++++++++++++++++++++++++-
 include/linux/miscdevice.h      |   1 +
 lib/Kconfig.debug               |  15 +-
 4 files changed, 529 insertions(+), 8 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ