Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a call `execve("/my/script", ...)` of course the kernel has to figure out how to run it, there is no shell involved.

As for scripts vs elf executables, there's not much of a difference between the shebang line and PT_INTERP, just that parsing shebangs lines is simpler.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: