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: <20251120102222.18371-1-dev@null.aaront.org>
Date: Thu, 20 Nov 2025 10:26:31 +0000
From: Aaron Thompson <dev@...ont.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"Rafael J. Wysocki" <rafael@...nel.org>,
	Danilo Krummrich <dakr@...nel.org>
Cc: Jonathan Corbet <corbet@....net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Aaron Thompson <dev@...ont.org>
Subject: [PATCH 0/2] debugfs: Remove broken no-mount mode

Hi all,

This patch removes the debugfs no-mount mode because it hasn't worked as
intended for several years. When I noticed that it wasn't working, I first
started coding a fix, which is straightforward. But after looking into the
history, it seems pretty clear that this mode isn't being used, so I think it
makes more sense to remove it.

The code could be made a tiny bit simpler and more consistent if we change the
off mode error code from -EPERM to -ENOENT. That would make the off case and the
uninitialized case always the same. The documentation for the off mode
specifically says that the error code is -EPERM however, so I stuck with that
for now.

Thanks!

Aaron Thompson (2):
  debugfs: Remove redundant access mode checks
  debugfs: Remove broken no-mount mode

 .../admin-guide/kernel-parameters.txt         |  6 +---
 fs/debugfs/inode.c                            | 36 ++++++-------------
 fs/debugfs/internal.h                         | 13 -------
 lib/Kconfig.debug                             |  9 +----
 4 files changed, 13 insertions(+), 51 deletions(-)


base-commit: 6a23ae0a96a600d1d12557add110e0bb6e32730c
-- 
2.47.3


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ