Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 28, 2022 21:26 UTC (Fri) by dskoll (subscriber, #1630)In reply to: Handling argc==0 in the kernel by khim
Parent article: Handling argc==0 in the kernel
realpath is an executable; I think you meant readlink(2). But my point is this: If the original execve call succeeds, then "/proc/self/exe" must still be valid in the exec'd program. if /proc/self/exe were not valid, then the execve call would fail.
