|
|
Log in / Subscribe / Register

Handling argc==0 in the kernel

Handling argc==0 in the kernel

Posted Jan 28, 2022 18:53 UTC (Fri) by flussence (guest, #85566)
Parent article: Handling argc==0 in the kernel

Just idly speculating here... what would the fallout be if instead of throwing an error, the kernel filled in an empty argv with "/proc/self/exe"? That's going from one Linux-specific behaviour to another but I'm guessing it'd still close the original exploit.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds