diff options
author | Hridya Valsaraju <hridya@google.com> | 2019-09-04 14:07:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 14:17:35 +0300 |
commit | 028fb5822b76bc2e095b5c145d7bd263878d9e27 (patch) | |
tree | d9fb6b0bd85dd276d16a28769c3b9d4da226b2e3 /drivers/android/binder.c | |
parent | c165d8947bc41ebd3b0de3f520490cffb627af90 (diff) | |
download | linux-028fb5822b76bc2e095b5c145d7bd263878d9e27.tar.xz |
binder: Validate the default binderfs device names.
Length of a binderfs device name cannot exceed BINDERFS_MAX_NAME.
This patch adds a check in binderfs_init() to ensure the same
for the default binder devices that will be created in every
binderfs instance.
Co-developed-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Hridya Valsaraju <hridya@google.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/20190808222727.132744-3-hridya@google.com
Link: https://lore.kernel.org/r/20190904110704.8606-3-christian.brauner@ubuntu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
0 files changed, 0 insertions, 0 deletions