Mount binderfs and add /dev/binder in recovery. am: cb22b13418 am: 1033aafe6c am: c3f177b5ec

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1891534

Change-Id: I4e4c0ad0817639a39cf59c1afe676f95f6681a60
diff --git a/etc/init.rc b/etc/init.rc
index 5cacb8b..983d91a 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -38,6 +38,14 @@
     write /proc/sys/kernel/panic_on_oops 1
     write /proc/sys/vm/max_map_count 1000000
 
+    # Mount binderfs
+    mkdir /dev/binderfs
+    mount binder binder /dev/binderfs stats=global
+    chmod 0755 /dev/binderfs
+
+    symlink /dev/binderfs/binder /dev/binder
+    chmod 0666 /dev/binderfs/binder
+
 on boot
     ifup lo
     hostname localhost