simon-git: umlwrap (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri May 1 18:21:33 BST 2020
TL;DR:
8fe7ff1 Make init set up a loopback network interface.
4c84a9d Make /dev/random really be /dev/urandom.
0cad58e Mount a tmpfs on /run.
dc6cbd4 Bind-mount a replacement for /etc/hosts.
1e123f8 Make /tmp/.X11-unix.
Repository: https://git.tartarus.org/simon/umlwrap.git
On the web: https://git.tartarus.org/?p=simon/umlwrap.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2020-05-01 18:21:33
commit 8fe7ff18085fd07bb22a12ace5eb3601cf787b07
web diff https://git.tartarus.org/?p=simon/umlwrap.git;a=commitdiff;h=8fe7ff18085fd07bb22a12ace5eb3601cf787b07;hp=bfbb7d1919cf0fc7620afb0c9f598dd497085492
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 1 17:59:34 2020 +0100
Make init set up a loopback network interface.
This allows programs inside the UML to connect to each other via
localhost network ports. In particular, this means you can do SSH port
forwarding, or X11 over TCP, inside the UML.
init.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
commit 4c84a9ddc4df603e23187efdb70120fe4aa70b6e
web diff https://git.tartarus.org/?p=simon/umlwrap.git;a=commitdiff;h=4c84a9ddc4df603e23187efdb70120fe4aa70b6e;hp=8fe7ff18085fd07bb22a12ace5eb3601cf787b07
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 1 18:00:50 2020 +0100
Make /dev/random really be /dev/urandom.
Inside UML, there isn't a good source of entropy for the blocking
/dev/random. So any program that tries to read it will unhelpfully
block. And current advice is that you should almost always be using
urandom anyway. So I think this is a generally useful change which
makes things work that previously hung, and doesn't lose much.
init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0cad58e19fff687ce52a5991b814e2781115a3b6
web diff https://git.tartarus.org/?p=simon/umlwrap.git;a=commitdiff;h=0cad58e19fff687ce52a5991b814e2781115a3b6;hp=4c84a9ddc4df603e23187efdb70120fe4aa70b6e
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 1 18:01:55 2020 +0100
Mount a tmpfs on /run.
This is a tmpfs even on the host system. In the guest, it should be a
separate independent tmpfs.
init.c | 1 +
1 file changed, 1 insertion(+)
commit dc6cbd45944518756d4751150683ced1b660cc53
web diff https://git.tartarus.org/?p=simon/umlwrap.git;a=commitdiff;h=dc6cbd45944518756d4751150683ced1b660cc53;hp=0cad58e19fff687ce52a5991b814e2781115a3b6
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 1 18:02:25 2020 +0100
Bind-mount a replacement for /etc/hosts.
Now we replace the host's /etc/hosts in the guest with a version that
maps the interior hostname to 127.0.0.1 (in the absence of any better
thing to map it to).
init.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
commit 1e123f8ebe48c6be59b40a4122cb81ea4e76f997
web diff https://git.tartarus.org/?p=simon/umlwrap.git;a=commitdiff;h=1e123f8ebe48c6be59b40a4122cb81ea4e76f997;hp=dc6cbd45944518756d4751150683ced1b660cc53
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 1 18:03:31 2020 +0100
Make /tmp/.X11-unix.
If this directory exists, then Unix-domain X server sockets can be
created inside it.
init.c | 4 ++++
1 file changed, 4 insertions(+)
More information about the tartarus-commits
mailing list