Merge "Revert "init: create /dev/urandom, /dev/random in first stage."" am: 37686d446d
am: 8196f4cdd9
Change-Id: I284baef2b4037809fd08a7bc8b68b2fe1268ff70
This commit is contained in:
commit
1181a4a54c
1 changed files with 0 additions and 4 deletions
|
|
@ -588,8 +588,6 @@ int main(int argc, char** argv) {
|
|||
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));
|
||||
early_mount();
|
||||
}
|
||||
|
||||
|
|
@ -640,8 +638,6 @@ int main(int argc, char** argv) {
|
|||
restorecon("/dev");
|
||||
restorecon("/dev/kmsg");
|
||||
restorecon("/dev/socket");
|
||||
restorecon("/dev/random");
|
||||
restorecon("/dev/urandom");
|
||||
restorecon("/dev/__properties__");
|
||||
restorecon("/property_contexts");
|
||||
restorecon_recursive("/sys");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue