lkml.org 
[lkml]   [2012]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Staging: android: binder: Add some error checks
On Sat, Jan 21, 2012 at 11:22:08AM +0300, Dan Carpenter wrote:
> On Fri, Jan 20, 2012 at 07:56:20PM -0800, Arve Hjønnevåg wrote:
> > - Add a mutex to protect against two processes mmapping the
> > same binder_proc.
> > - After locking mmap_sem, check that the vma we want to access
> > (still) points to the same mm_struct.
> > - Use proc->tsk instead of current to get the files struct since
> > this is where we get the rlimit from.
>
> This doesn't seem related to the locking change at all. Probably
> this patch should be split into three patches, one bugfix per
> patch, unless they are very closely related.

I agree. Arve, is this all fixing one problem, or multiple ones? If
multiple ones, we need this split up into multiple patches.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-01-31 20:01    [W:0.071 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site