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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e44c326-1b5d-46fc-a5b2-8845ebbb32d5@sirena.org.uk>
Date: Mon, 1 Dec 2025 12:03:45 +0000
From: Mark Brown <broonie@...nel.org>
To: Richard Weinberger <richard@....at>
Cc: linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
	devicetree@...r.kernel.org, arnd@...db.de, lee@...nel.org,
	dakr@...nel.org, rafael@...nel.org, gregkh@...uxfoundation.org,
	tony@...mide.com, rogerq@...nel.org, khilman@...libre.com,
	andreas@...nade.info, aaro.koskinen@....fi, conor+dt@...nel.org,
	krzk+dt@...nel.org, robh@...nel.org
Subject: Re: [PATCH 2/4] regmap: Allow disabling debugfs via regmap_config

On Sat, Nov 29, 2025 at 03:20:40PM +0100, Richard Weinberger wrote:
> Regmap already disables register access via debugfs as soon as a register
> map is used without taking locks.
> Go a step further and allow disabling debugfs via regmap_config such that
> device drivers can decide on their own whether uncontrolled register access
> via debugfs is harmful.

What's the use case for this?  Drivers can already mark registers as
unreadable and precious to stop spurious reads.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ