Revert "Revert "init: create /dev/urandom, /dev/random in first stage.""

This reverts commit 4c8a76e250fbc04210cb68324ff167a019591574.

Test: booted angler-userdebug

Change-Id: I2257a44b7cf624065e5653754062a117f3e44c98
diff --git a/init/init.cpp b/init/init.cpp
index 4efcc34..734f129 100644
--- a/init/init.cpp
+++ b/init/init.cpp
@@ -593,6 +593,8 @@
         mount("sysfs", "/sys", "sysfs", 0, NULL);
         mount("selinuxfs", "/sys/fs/selinux", "selinuxfs", 0, NULL);
         mknod("/dev/kmsg", S_IFCHR | 0600, makedev(1, 11));
+        mknod("/dev/random", S_IFCHR | 0666, makedev(1, 8));
+        mknod("/dev/urandom", S_IFCHR | 0666, makedev(1, 9));
     }
 
     // Now that tmpfs is mounted on /dev and we have /dev/kmsg, we can actually
@@ -655,6 +657,8 @@
     restorecon("/dev");
     restorecon("/dev/kmsg");
     restorecon("/dev/socket");
+    restorecon("/dev/random");
+    restorecon("/dev/urandom");
     restorecon("/dev/__properties__");
     restorecon("/property_contexts");
     restorecon("/sys", SELINUX_ANDROID_RESTORECON_RECURSE);