Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 28, 2022 15:21 UTC (Fri) by maxfragg (subscriber, #122266)Parent article: Handling argc==0 in the kernel
For security reasons it would be a good idea to actually break with the rule of "envp == argv + argc + 1" and move env and argv to separate pages, with one guard in between. This convention really is risky and saving 2 pages does not seem worth it today.
