3 ms·
The first arg to your program is a path to the binary that's being executed. No /proc required.
by eptcyka 3y ago
The first arg to your program is a path to the binary that's being executed. No /proc required.
- electroly 3y agoIt'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);