Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp261658pxv; Thu, 15 Jul 2021 03:47:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJSvKWbhWwnWTR50WbC7UDe3S4DQ/3lWReA7Eq/HEOmqy5hpPYLBFVxf6lQvhkV+1ym4aK X-Received: by 2002:a17:906:c055:: with SMTP id bm21mr4936976ejb.350.1626346035721; Thu, 15 Jul 2021 03:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626346035; cv=none; d=google.com; s=arc-20160816; b=oIZRJAAmB2DF7a1A94xLOQnyWzOfceFwSHd4eb/5ppPIWX6SqB5i9A93HpUK4Tq7gT JT6+oKx6KE4kLe5lTSAA7/NvpFRbEE6IK+a0lDFoG7sf0GwxLI5k8imvCt9yKS5V11QT M9zEQ34+OqTPRsFtTX9DR+amXIjNz+xvtmTavyHbRkN/ayiBL9XeqdlISH2kecJZjQxy wTXWxrPPZguOsnMOJxTuj+7eha+/h0u9Ewl6K5txI8vOElvbjCs1hXGdnfs4qZ3EAhz6 IpR8u7YEGhHxnSUjpfgLqLyEa9z80gTuj0Lwaptt96NxCecFJRDMkYkliZTxTZzUAaut VSVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=HzkqRkAWq/kMQdgOnAMFrFbhGvUhvzZVS9fgmGMfLJs=; b=yZ81xVshoA2BK4tTlOkREy4eOK72KFczR22kwvmYZVk+U3xKmGCD6z7hseN75t8QJU /I6xs0AttovtNJxrFcSpEV9OjPs72N4+d8CZedghirBasG8SHW9htBpXQsKecxcZsXGo 9I8z4u/ut1HlKnJFV4ecCAtONCNW7WjkemDT7B839b86RYNk+Jz26YlHOjCwN74w5mGP kGDWj+WNyQLge4wIF7cdHS+CWsuKVre2ga5mQDoC/VyJ0jt5rBg4BNqPXKLKLVsy1lml pMCefuIJlyq5bV9Is317XW5EVMAEeTziit5xZBkPbjKbHHuuoXXQDLmHJeN36TaStcRi PA7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si7174296edb.265.2021.07.15.03.46.52; Thu, 15 Jul 2021 03:47:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbhGOIKh (ORCPT + 99 others); Thu, 15 Jul 2021 04:10:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:41612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbhGOIKg (ORCPT ); Thu, 15 Jul 2021 04:10:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F4FB61362; Thu, 15 Jul 2021 08:07:40 +0000 (UTC) Date: Thu, 15 Jul 2021 10:07:38 +0200 From: Christian Brauner To: Carlos Llamas Cc: Greg Kroah-Hartman , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , Todd Kjos , Martijn Coenen , Christian Brauner , Joel Fernandes , Steven Moreland , kernel-team@android.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] binderfs: add support for feature files Message-ID: <20210715080738.oumkwhbcz7lxej65@wittgenstein> References: <20210707162419.15510-1-cmllamas@google.com> <20210715031805.1725878-1-cmllamas@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210715031805.1725878-1-cmllamas@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 03:18:03AM +0000, Carlos Llamas wrote: > Provide userspace with a mechanism to discover features supported by > the binder driver to refrain from using any unsupported ones in the > first place. Starting with "oneway_spam_detection" only new features > are to be listed under binderfs and all previous ones are assumed to > be supported. > > Assuming an instance of binderfs has been mounted at /dev/binderfs, > binder feature files can be found under /dev/binderfs/features/. > Usage example: > > $ mkdir /dev/binderfs > $ mount -t binder binder /dev/binderfs > $ cat /dev/binderfs/features/oneway_spam_detection > 1 > > Signed-off-by: Carlos Llamas > --- Looks good, Acked-by: Christian Brauner