Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp410414ybl; Fri, 9 Aug 2019 07:51:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGfTCj+9GqE53ORixLDuhlDtz3ZIL0hBnerNpc52nDQyLsHz6+wy9yUtoZrOmZ7tO43BS/ X-Received: by 2002:aa7:8b55:: with SMTP id i21mr21940816pfd.155.1565362278345; Fri, 09 Aug 2019 07:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565362278; cv=none; d=google.com; s=arc-20160816; b=v2pwnczs7gpZO3auwWYz/9vvzh5wJCRqvV3JN7oUTOs7NYhtJs9s96B56OKfqgcFiQ z6pPIti+EcZpW111V2STML4mw//PM2agE2TlRjer7stlufAOlfJ4uL3WwtsS1sP8ZKyI TX4qPZ3kcinZJ1CyVDhTxdR0yoWmwNrFFkcrCprmZr70Y4iHFHhFtQZ44Am+mHyK9EcU t4m+Lw2CfNJcDodJmhLQwwlWckxO3/A97rK2InxOENAHRZlC2rIPH8tYlukCez5q0uxE /3jhnjjBlMnZ4VyvWGyZ1OEqGlwHZkAj3Zt93WM427TOSQBEAGU6KBQrGfU7Ru1erwMi PlwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H+aFC41WTfEHyca84kgJ4nvuBia6TgTyEiDk56wKsU0=; b=sizr6iwFae0c8PLlrEJAJkZHVgDfgwZ/NveOm2AkriMEhu2jKohflBN0X8MpWP9dtC dX4ViXkNiw81vTJ08Y9fNEMp5BgdzVvCfy3Ag6lrWPe0Qq4daL+ylT3vqdkI3txYFchQ VyadNurlQJGbHFW2ma50qmA1Y4U+2JrNfh/tjjkTLlzHuzHIO5lIlJq6xNvXBr241b67 twR0x0Irz2DTqnXdgH7qxSr1x97liVQJGePEwYAzwv53gg0Qp0fmZaGVG2e0KeobHRVQ K7+e5360c0nLKgDF2mtENK8318Kewfl0JUATA0U9q7VLI3pfTazvqWxs4Uj9XGDYFqeO Z2RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="p4/m0hTs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si55252192pgq.17.2019.08.09.07.51.03; Fri, 09 Aug 2019 07:51:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="p4/m0hTs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406652AbfHIOuT (ORCPT + 99 others); Fri, 9 Aug 2019 10:50:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:34104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfHIOuS (ORCPT ); Fri, 9 Aug 2019 10:50:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E26FB208C4; Fri, 9 Aug 2019 14:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565362218; bh=H+aFC41WTfEHyca84kgJ4nvuBia6TgTyEiDk56wKsU0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p4/m0hTsTJk8ReJo5wAny4/PaHO0Tgr/AsaXR8Cn8fdCDgphvClRMi0xcs01bMFH2 9TzKWigr+rv0if6J+O07TTne/KD2u8wfZnVYFhRSnKhnuMywKX6nF85KcRfYMq0Ih5 4teuj5j+vkCom4J6Ovbm7ZheHtQqUFXC8A4Siw74= Date: Fri, 9 Aug 2019 16:50:16 +0200 From: Greg Kroah-Hartman To: Hridya Valsaraju Cc: Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-team@android.com, Christian Brauner Subject: Re: [PATCH v3 1/2] binder: Add default binder devices through binderfs when configured Message-ID: <20190809145016.GB16262@kroah.com> References: <20190808222727.132744-1-hridya@google.com> <20190808222727.132744-2-hridya@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190808222727.132744-2-hridya@google.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 08, 2019 at 03:27:25PM -0700, Hridya Valsaraju wrote: > Currently, since each binderfs instance needs its own > private binder devices, every time a binderfs instance is > mounted, all the default binder devices need to be created > via the BINDER_CTL_ADD IOCTL. Wasn't that a design goal of binderfs? > This patch aims to > add a solution to automatically create the default binder > devices for each binderfs instance that gets mounted. > To achieve this goal, when CONFIG_ANDROID_BINDERFS is set, > the default binder devices specified by CONFIG_ANDROID_BINDER_DEVICES > are created in each binderfs instance instead of global devices > being created by the binder driver. This is going to change how things work today, what is going to break because of this change? I don't object to this, except for the worry of changing the default behavior. thanks, greg k-h