The attached patch is needed to correctly emulate setuid executables. With this change, and by making qemu be setuid root (and assumming all of the risks and responsibilites of doing so), executables such as /bin/su will be able to create the correct environment. Stuart Stuart R. Anderson anderson@netsweng.com Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149