lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080520134517.GA6990@c2.user-mode-linux.org>
Date:	Tue, 20 May 2008 09:45:17 -0400
From:	Jeff Dike <jdike@...toit.com>
To:	John R Moser <nigelenki@...cast.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: UML and VMI ... how does UML work?

On Mon, May 19, 2008 at 11:58:40PM +0000, John R Moser wrote:
> I've been googling around but can't find a good resource for
> technically how UML works.  I'm thinking about specifically the task
> of implementing a virtualization platform without kernel
> hooks... this lead me to dancing around checking out existing
> technology and noticing claims that UML can run on an unmodified
> kernel without special needs.

There's nothing magic.  It turns out that the system call interface is
sufficient to virtualize an entire system, and UML is an existence
proof of that.  The major mappings are:
      system calls -> ptrace
      memory -> mmap, munmap, mprotect
      interrupts -> signals
      timer -> interval timer

> In short, I'm curious about how UML works because I'm interested in knowing if
> it's theoretically possible to remove the UML code (i.e. compile it out) and
> then boot a kernel within an application that gives it a VMI structure to ...
> act exactly as UML.

This paragraph is very unclear to me...

     	       	       Jeff

-- 
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ