fexecve needs to work with chroot

Issue #97 resolved
Garrett D'Amore repo owner created an issue

Reliance on /proc (and procfs) means that we won't support chroot. We should fix that. Our approach rather than creating a new syscall is to handle "/dev/fd/%d" specially, inside the exece() system call. This will extract the integer descriptor number, and do an fgetstartvp() to obtain the file descriptor, rather than looking up in the filesystem.

Comments (2)

  1. Log in to comment