Mrmiffo / lab1OperatingSystems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lab1OperatingSystems

Things to ask: Exec to look for file on path: Allowed or not?

If the header of a file isn't recognized (the attempted execve(2) failed with the error ENOEXEC), these functions will execute the shell (/bin/sh) with the path of the file as its first argument. (If this attempt fails, no further searching is done.)

About


Languages

Language:C 83.2%Language:Groff 13.8%Language:Makefile 3.0%