android-binder-use-same_thread_groupproc-tsk-current-in-binder_mmap.patch removed from -mm tree
The quilt patch titled
Subject: android/binder: use same_thread_group(proc->tsk, current) in binder_mmap()
has been removed from the -mm tree. Its filename was
android-binder-use-same_thread_groupproc-tsk-current-in-binder_mmap.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: android/binder: use same_thread_group(proc->tsk, current) in binder_mmap()
Date: Sun, 25 Jan 2026 17:07:20 +0100
With or without this change the checked condition can be falsely true if proc->tsk execs, but this is fine: binder_alloc_mmap_handler() checks vma->vm_mm == alloc->mm.
Signed-off-by Oleg Nesterov <[email protected]>
Reviewed-by Alice Ryhl <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Christan König <[email protected]>
Cc David S. Miller <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Felix Kuehling <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Leon Romanovsky <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc Simon Horman <[email protected]>
Cc Steven Price <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/android/binder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder.c renamed from drivers/android/binder.c~android-binder-use-same_thread_groupproc-tsk-current-in-binder_mmap +1 -1
@@ -6015,7 +6015,7 @@ static int binder_mmap(struct file *filp {struct binder_proc *proc = filp->private_data; -if (proc->tsk != current->group_leader) +if (!same_thread_group (proc->tsk, current))return -EINVAL ; binder_debug(BINDER_DEBUG_OPEN_CLOSE,
_
Patches currently in -mm which might be from [email protected] are