android_kernel_sony_sdm845/drivers/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Carlos Llamas a1bc41b318 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>
Signed-off-by: Jebaitedneko <Jebaitedneko@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 18:04:20 +07:00
..
binder.c fs: Rename __close_fd_get_file close_fd_get_file 2026-05-15 18:04:20 +07:00
binder_alloc.c binder: remove redundant assignment to pointer n 2026-05-15 18:04:20 +07:00
binder_alloc.h binder: sync android12-5.4 binder 2026-05-15 18:04:18 +07:00
binder_alloc_selftest.c binder: sync android12-5.4 binder 2026-05-15 18:04:18 +07:00
binder_internal.h binder: sync android12-5.4 binder 2026-05-15 18:04:18 +07:00
binder_trace.h binder: add trace at free transaction. 2026-05-15 18:04:19 +07:00
binderfs.c binderfs: add support for feature files 2026-05-15 18:04:20 +07:00
Kconfig binder: sync android12-5.4 binder 2026-05-15 18:04:18 +07:00
Makefile binder: sync android12-5.4 binder 2026-05-15 18:04:18 +07:00