Skip to content

Commit 80f73b2

Browse files
committed
Merge tag 'char-misc-4.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc fix from Greg KH: "Here is a single misc driver fix for 4.13-rc7. It resolves a reported problem in the Android binder driver due to previous patches in 4.13-rc. It's been in linux-next with no reported issues" * tag 'char-misc-4.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: ANDROID: binder: fix proc->tsk check.
2 parents c3c1626 + b2a6d1b commit 80f73b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/android/binder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3362,7 +3362,7 @@ static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
33623362
const char *failure_string;
33633363
struct binder_buffer *buffer;
33643364

3365-
if (proc->tsk != current)
3365+
if (proc->tsk != current->group_leader)
33663366
return -EINVAL;
33673367

33683368
if ((vma->vm_end - vma->vm_start) > SZ_4M)

0 commit comments

Comments
 (0)