ramdisk_node_list: Add urandom node
Bionic requires random numbers to init the shadow call stack. Those numbers are obtained via the syscall getrandom (non-blocking) and will fallback to /dev/urandom if the former fails. When loading pKVM modules, we are so early in the boot process that the only source of entropy for the linux RNG are the architecture random number generators... which might be available on some platforms. Without any source of entropy, the only way of generating a random number is to try to generate some, which is what the bionic fallback expects via urandom. As a consequence, add the urandom node to the initramfs. Bug: 274876849 Change-Id: I164b08f026a238dad9f27a345bdef96717f2aa74
This commit is contained in:
parent
242d5fb816
commit
b6e3d145aa
|
@ -1,3 +1,4 @@
|
|||
dir dev 0755 0 0
|
||||
nod dev/null 0600 0 0 c 1 3
|
||||
nod dev/console 0600 0 0 c 5 1
|
||||
nod dev/urandom 0600 0 0 c 1 9
|
||||
|
|
Loading…
Reference in New Issue