summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChun-Yi Lee <jlee@suse.com>2026-06-15 18:47:50 +0800
committerDanilo Krummrich <dakr@kernel.org>2026-06-28 23:21:39 +0200
commitf81808de37338aac8e167f99bfae647b1b835c70 (patch)
treedaa6a757c3ba3890fde236f9a715d12304b8f233 /tools/perf/scripts/python/bin
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
debugfs: Fix lockdown check for mmap_prepare
Commit 651fdda8406d ("relay: update relay to use mmap_prepare") changed the `mmap` file operation to `mmap_prepare` for relayfs, but the lockdown check in debugfs was not updated accordingly. This prevents debugfs from being locked down when the kernel is in integrity mode if a file uses `mmap_prepare` but not `mmap`. Since the conversion to `mmap_prepare` across the kernel is not yet complete, update the lockdown check to look for both `mmap` and `mmap_prepare` to ensure comprehensive coverage. Fixes: 651fdda8406d ("relay: update relay to use mmap_prepare") Signed-off-by: Chun-Yi Lee <jlee@suse.com> Cc: David Howells <dhowells@redhat.com> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: Matthew Garrett <mjg59@srcf.ucam.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Danilo Krummrich <dakr@kernel.org> Cc: driver-core@lists.linux.dev Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org Tested-by: Disha Goel <disgoel@linux.ibm.com> Reviewed-by: Lorenzo Stoakes <ljs@kernel.org> Link: https://patch.msgid.link/20260615104750.1000-1-jlee@suse.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions