[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linux emulation + chroot()
I am trying to somewhat secure the rest of my system from an untrusted
gameserver, which comes in linux binary form only.
I wrote a short C program that chroot()'s, drops root privelidges, and
then runs the daemon. It works with openbsd binaries.
This particular daemon runs in linux emulation mode. When run by chroot,
"Abort" is returned. When run by my program, "Abort trap" is returned.
I copied /emul/linux to ./emul/linux in the chroot tree, which didn't do
anything.
Is this a known issue? Is it possible to chroot linux programs running
under emulation?
Are "Abort" and "Abort trap" from the emulation system?
How can I chroot a linux binary under OpenBSD?
--
Andrew