News for hackers. Stuff that matters.
Re:CDE: Easily run a program on any linux without thinking a... by sandGorgon on Sunday November 14, 2010 @02:43AM (#1902797)
could you put up a doc or something explaining the difference to chroot jails ?

because you mention: . CDE runs packaged programs in a sandbox similar to a chroot jail, but truly malicious applications can circumvent this sort of isolation attempt.

Do you use similar techniques to chroot - essentially I am asking whether your code is basically chroot (in terms of its behavior AS WELL AS its internals) with some security features removed ?

Re:CDE: Easily run a program on any linux without thinking a... by pgbovine on Sunday November 14, 2010 @02:49AM (#1902803)
no, it's not using the same mechanism as a real chroot (since you need to be root user to create a chroot). cde uses strace to intercept all the system calls that a monitored child process makes, and re-writes all file access system calls to re-route their paths inside of cde-root/.