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

The first arg to your program is a path to the binary that's being executed. No /proc required.


It's usually the path to the binary being executed, but you can pass anything you want when you exec. e.g. execl("/bin/ls", "definitely not /bin/ls", NULL);




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

Search: