Subject: Re: Emulation: selecting emulation root at runtime?
To: Eric Haszlakiewicz <erh@nimenees.com>
From: =?ISO-8859-1?Q?Joachim_K=F6nig?= <him@online.de>
List: current-users
Date: 08/27/2007 17:35:30
Eric Haszlakiewicz wrote:
> Actually a little of both.  You can get close to the current emulation code
> by doing a union mount with / _under_ /emul/linux (mount_union -b), then
> chroot'ing into it.  (not quite the same though)
>   
So no matter if it's more like chroot or an overlay mount:

- root permissions are required to accept a certain emulation root
  (either by design, in /emul or by explictely allowing it via a new
   sysctl call or similar mechanism)

- root permission is (or should not be required) to run a binary in
  any of the accepted emulation roots

Joachim