aboutsummaryrefslogtreecommitdiff
path: root/src/exec.c
Commit message (Collapse)AuthorAgeFilesLines
* improve execFlorian Fischer2019-08-121-2/+6
| | | | | fix usage print message if exec failed and exit with exit code 1
* use LD_LIBRARY_PATH for glibc instead of calling its loaderFlorian Fischer2019-08-121-0/+32
Calling the loader fails on non ELF executables. Exec, formerly run_cmd, now takes two options: -l LD_LIBRARY_PATH, -p LD_PRELOAD. -p sets LD_PRELOAD and -l LD_LIBRARY_PATH before executing the rest of argv. glibc no longer uses cmd_prefix in favor of LD_LIBRARY_PATH.