Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 28, 2022 20:24 UTC (Fri) by khim (subscriber, #9252)In reply to: Handling argc==0 in the kernel by dskoll
Parent article: Handling argc==0 in the kernel
Nope. It couldn't. Since that one, too, may be /proc/self/exe (and, indeed there are one case where pattern exec("/proc/self/exe", NULL, NULL); is used).
So it's not bullet-proof and, I think, few examples where this Linux-only misfeature is exploited are not worth inventing crazy schemes.
