At 01:58 AM 29/02/2004 +0100, you wrote:
Hi,
I have a secure UML setup in which networking via ethX devices is not an
option, so I'm looking into other means of simple byte-stream-oriented
communication with the host.
Easiest way I can think of is to map a UML tty to a pty on the
host. Personally I use a connection like this for logging.
I'm not thrilled with UML's ability to acquire pty pairs itself
(it closes the master every time a process closes the tty, and it may not
get the same pty number when it re-opens), but it's simple enough to use a
wrapper that creates a pty master/slave pair (or several) and starts UML
up with ttys mapped to pty slaves (pts channel).
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|