mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
Base: Symlink /dev/urandom to /dev/random
Some software expects to find /dev/urandom so we might as well provide. Gets rid of one dropbear patch. :^)
This commit is contained in:
parent
3ee1b3cbd4
commit
5448a670c0
2 changed files with 1 additions and 11 deletions
|
@ -85,6 +85,7 @@ mknod mnt/dev/zero c 1 5
|
||||||
mknod mnt/dev/full c 1 7
|
mknod mnt/dev/full c 1 7
|
||||||
# random, is failing (randomly) on fuse-ext2 on macos :)
|
# random, is failing (randomly) on fuse-ext2 on macos :)
|
||||||
chmod 666 mnt/dev/random || true
|
chmod 666 mnt/dev/random || true
|
||||||
|
ln -s random mnt/dev/urandom
|
||||||
chmod 666 mnt/dev/null
|
chmod 666 mnt/dev/null
|
||||||
chmod 666 mnt/dev/zero
|
chmod 666 mnt/dev/zero
|
||||||
chmod 666 mnt/dev/full
|
chmod 666 mnt/dev/full
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/sysoptions.h
|
|
||||||
+++ b/sysoptions.h
|
|
||||||
@@ -256,7 +256,7 @@
|
|
||||||
/* Source for randomness. This must be able to provide hundreds of bytes per SSH
|
|
||||||
* connection without blocking. */
|
|
||||||
#ifndef DROPBEAR_URANDOM_DEV
|
|
||||||
-#define DROPBEAR_URANDOM_DEV "/dev/urandom"
|
|
||||||
+#define DROPBEAR_URANDOM_DEV "/dev/random"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* client keyboard interactive authentication is often used for password auth.
|
|
Loading…
Add table
Add a link
Reference in a new issue