Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 menu "Android"
0003 
0004 config ANDROID_BINDER_IPC
0005         bool "Android Binder IPC Driver"
0006         depends on MMU
0007         default n
0008         help
0009           Binder is used in Android for both communication between processes,
0010           and remote method invocation.
0011 
0012           This means one Android process can call a method/routine in another
0013           Android process, using Binder to identify, invoke and pass arguments
0014           between said processes.
0015 
0016 config ANDROID_BINDERFS
0017         bool "Android Binderfs filesystem"
0018         depends on ANDROID_BINDER_IPC
0019         default n
0020         help
0021           Binderfs is a pseudo-filesystem for the Android Binder IPC driver
0022           which can be mounted per-ipc namespace allowing to run multiple
0023           instances of Android.
0024           Each binderfs mount initially only contains a binder-control device.
0025           It can be used to dynamically allocate new binder IPC devices via
0026           ioctls.
0027 
0028 config ANDROID_BINDER_DEVICES
0029         string "Android Binder devices"
0030         depends on ANDROID_BINDER_IPC
0031         default "binder,hwbinder,vndbinder"
0032         help
0033           Default value for the binder.devices parameter.
0034 
0035           The binder.devices parameter is a comma-separated list of strings
0036           that specifies the names of the binder device nodes that will be
0037           created. Each binder device has its own context manager, and is
0038           therefore logically separated from the other devices.
0039 
0040 config ANDROID_BINDER_IPC_SELFTEST
0041         bool "Android Binder IPC Driver Selftest"
0042         depends on ANDROID_BINDER_IPC
0043         help
0044           This feature allows binder selftest to run.
0045 
0046           Binder selftest checks the allocation and free of binder buffers
0047           exhaustively with combinations of various buffer sizes and
0048           alignments.
0049 
0050 endmenu