It\'s the same as this one except that I\'m running execl(\"/bin/ls\", \"ls\", NULL);.
execl(\"/bin/ls\", \"ls\", NULL);
The result is obviously wrong as every syscall returns with
You can print a human-readable description of the last system error with perror or strerror. This error description will help you substantially more.