summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2021-07-15 03:18:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 13:46:36 +0200
commitfc470abf54b2bd6e539065e07905e767b443d719 (patch)
treeac746b9cd1efba812b39a1abbea55e0cf05e0f0e /drivers/fpga/fpga-mgr.c
parentec7b5eda8ae1a7a12cf1618ad7afb3509f593812 (diff)
binderfs: add support for feature files
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 Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20210715031805.1725878-1-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions