mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +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
Notes:
sideshowbarker
2024-07-19 05:44:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5448a670c03
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
|
||||
# random, is failing (randomly) on fuse-ext2 on macos :)
|
||||
chmod 666 mnt/dev/random || true
|
||||
ln -s random mnt/dev/urandom
|
||||
chmod 666 mnt/dev/null
|
||||
chmod 666 mnt/dev/zero
|
||||
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
Reference in a new issue