Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 28, 2022 20:06 UTC (Fri) by dskoll (subscriber, #1630)In reply to: Handling argc==0 in the kernel by flussence
Parent article: Handling argc==0 in the kernel
You don't need to muck about in /proc. The first argument to execve() is the pathname being executed; that could be placed as argv[0].
