Re: [PATCH v2 1/3] binderfs: add support for feature files

From: Christian Brauner
Date: Thu Jul 15 2021 - 04:07:46 EST


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 <cmllamas@xxxxxxxxxx>
> ---

Looks good,
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>