* [folded-merged] fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps-fix.patch removed from -mm tree
@ 2024-07-12 22:43 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-07-12 22:43 UTC (permalink / raw)
To: mm-commits, viro, surenb, sfr, rppt, Liam.Howlett, gregkh,
brauner, arnd, ak, adobriyan, andrii, akpm
The quilt patch titled
Subject: fs/procfs: improve PROCMAP_QUERY's compat mode handling
has been removed from the -mm tree. Its filename was
fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps-fix.patch
This patch was dropped because it was folded into fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps.patch
------------------------------------------------------
From: Andrii Nakryiko <andrii@kernel.org>
Subject: fs/procfs: improve PROCMAP_QUERY's compat mode handling
Date: Mon, 1 Jul 2024 10:48:05 -0700
Kernel provides compat_ptr_ioctl() wrapper to sanitize pointers for 32-bit
processes on 64-bit host architectures. Given procfs_procmap_ioctl()
always expects pointer argument, this is exactly what we need.
This has any effect only on 32-bit processes on s390 architecture.
Link: https://lkml.kernel.org/r/20240701174805.1897344-2-andrii@kernel.org
Fixes: 3757be498749 ("fs/procfs: implement efficient VMA querying API for /proc/<pid>/maps")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/task_mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/task_mmu.c~fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps-fix
+++ a/fs/proc/task_mmu.c
@@ -614,7 +614,7 @@ const struct file_operations proc_pid_ma
.llseek = seq_lseek,
.release = proc_map_release,
.unlocked_ioctl = procfs_procmap_ioctl,
- .compat_ioctl = procfs_procmap_ioctl,
+ .compat_ioctl = compat_ptr_ioctl,
};
/*
_
Patches currently in -mm which might be from andrii@kernel.org are
fs-procfs-extract-logic-for-getting-vma-name-constituents.patch
fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps.patch
fs-procfs-add-build-id-fetching-to-procmap_query-api.patch
fs-procfs-add-build-id-fetching-to-procmap_query-api-fix.patch
docs-procfs-call-out-ioctl-based-procmap_query-command-existence.patch
tools-sync-uapi-linux-fsh-header-into-tools-subdir.patch
selftests-proc-add-procmap_query-ioctl-tests.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-12 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-12 22:43 [folded-merged] fs-procfs-implement-efficient-vma-querying-api-for-proc-pid-maps-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.