aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/filesystems/binderfs/config
diff options
context:
space:
mode:
authorChristian Brauner <christian@brauner.io>2019-01-17 12:48:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-30 15:19:56 +0100
commit75abec73de65a86a23019ee7a3569220ee344f37 (patch)
tree150b4d375c70c2fdba9105ed0ca99c447fd9580d /tools/testing/selftests/filesystems/binderfs/config
parentLinux 5.0-rc4 (diff)
downloadlinux-dev-75abec73de65a86a23019ee7a3569220ee344f37.tar.xz
linux-dev-75abec73de65a86a23019ee7a3569220ee344f37.zip
selftests: add binderfs selftests
This adds the promised selftest for binderfs. It will verify the following things: - binderfs mounting works - binder device allocation works - performing a binder ioctl() request through a binderfs device works - binder device removal works - binder-control removal fails - binderfs unmounting works The tests are performed both privileged and unprivileged. The latter verifies that binderfs behaves correctly in user namespaces. Cc: Todd Kjos <tkjos@google.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Acked-by: Shuah Khan <shuah@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/filesystems/binderfs/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/filesystems/binderfs/config b/tools/testing/selftests/filesystems/binderfs/config
new file mode 100644
index 000000000000..02dd6cc9cf99
--- /dev/null
+++ b/tools/testing/selftests/filesystems/binderfs/config
@@ -0,0 +1,3 @@
+CONFIG_ANDROID=y
+CONFIG_ANDROID_BINDERFS=y
+CONFIG_ANDROID_BINDER_IPC=y