Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753737AbdGCJRl (ORCPT ); Mon, 3 Jul 2017 05:17:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43266 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753716AbdGCJRj (ORCPT ); Mon, 3 Jul 2017 05:17:39 -0400 Date: Mon, 3 Jul 2017 11:17:39 +0200 From: Greg KH To: Todd Kjos Cc: arve@android.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, maco@google.com, tkjos@google.com Subject: Re: [PATCH 02/37] binder: use group leader instead of open thread Message-ID: <20170703091739.GC30284@kroah.com> References: <20170629190211.16927-1-tkjos@google.com> <20170629190211.16927-3-tkjos@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170629190211.16927-3-tkjos@google.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 549 Lines: 18 On Thu, Jun 29, 2017 at 12:01:36PM -0700, Todd Kjos wrote: > The binder allocator assumes that the thread that > called binder_open will never die for the lifetime of > that proc. That thread is normally the group_leader, > however it may not be. Use the group_leader instead > of current. > > Signed-off-by: Todd Kjos > --- > drivers/android/binder.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) This should be backported to older kernels, right? How far back? Same for patch 01/37, right? thanks, greg k-h