binderfs: port to new mount api
It's time we port binderfs to the new mount api. We can make use of the
new option parser, get nicer infrastructure and it will be easiert if we
ever add any new mount options.
This survives testing with the binderfs selftests:
for i in `seq 1 1000`; do ./binderfs_test; done
including the new stress tests I sent out for review today:
[==========] Running 3 tests from 1 test cases.
[ RUN ] global.binderfs_stress
[ OK ] global.binderfs_stress
[ RUN ] global.binderfs_test_privileged
# Tests are not run as root. Skipping privileged tests
[ OK ] global.binderfs_test_privileged
[ RUN ] global.binderfs_test_unprivileged
# Allocated new binder device with major 243, minor 4, and name my-binder
# Detected binder version: 8
[ OK ] global.binderfs_test_unprivileged
[==========] 3 / 3 tests passed.
[ PASSED ]
Cc: Todd Kjos <tkjos@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
1 file changed