1# SPDX-License-Identifier: GPL-2.0 2menu "Android" 3 4config ANDROID_BINDER_IPC 5 bool "Android Binder IPC Driver" 6 depends on MMU 7 depends on NET 8 default n 9 help 10 Binder is used in Android for both communication between processes, 11 and remote method invocation. 12 13 This means one Android process can call a method/routine in another 14 Android process, using Binder to identify, invoke and pass arguments 15 between said processes. 16 17config ANDROID_BINDERFS 18 bool "Android Binderfs filesystem" 19 depends on ANDROID_BINDER_IPC 20 default n 21 help 22 Binderfs is a pseudo-filesystem for the Android Binder IPC driver 23 which can be mounted per-ipc namespace allowing to run multiple 24 instances of Android. 25 Each binderfs mount initially only contains a binder-control device. 26 It can be used to dynamically allocate new binder IPC devices via 27 ioctls. 28 29config ANDROID_BINDER_DEVICES 30 string "Android Binder devices" 31 depends on ANDROID_BINDER_IPC 32 default "binder,hwbinder,vndbinder" 33 help 34 Default value for the binder.devices parameter. 35 36 The binder.devices parameter is a comma-separated list of strings 37 that specifies the names of the binder device nodes that will be 38 created. Each binder device has its own context manager, and is 39 therefore logically separated from the other devices. 40 41config ANDROID_BINDER_ALLOC_KUNIT_TEST 42 tristate "KUnit Tests for Android Binder Alloc" if !KUNIT_ALL_TESTS 43 depends on ANDROID_BINDER_IPC && KUNIT 44 default KUNIT_ALL_TESTS 45 help 46 This feature builds the binder alloc KUnit tests. 47 48 Each test case runs using a pared-down binder_alloc struct and 49 test-specific freelist, which allows this KUnit module to be loaded 50 for testing without interfering with a running system. 51 52endmenu 53