linux/tools/testing/selftests/filesystems/binderfs
Christian Brauner 75abec73de 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>
2019-01-30 15:19:56 +01:00
..
.gitignore selftests: add binderfs selftests 2019-01-30 15:19:56 +01:00
Makefile selftests: add binderfs selftests 2019-01-30 15:19:56 +01:00
binderfs_test.c selftests: add binderfs selftests 2019-01-30 15:19:56 +01:00
config selftests: add binderfs selftests 2019-01-30 15:19:56 +01:00