On 19 March 2015 at 22:25, Alexander Huemer <alexander.hue...@xx.vu> wrote: > - if (chroot(".") == -1) { > + if (chroot(chrootdir) == -1) {
This looks wrong; see line 709: > if (chdir(chrootdir) == -1) { So on line 713 . should be chrootdir, because it just chdir'd there. cls