|
|
Log in / Subscribe / Register

Handling argc==0 in the kernel

Handling argc==0 in the kernel

Posted Feb 13, 2022 23:46 UTC (Sun) by Smon (guest, #104795)
Parent article: Handling argc==0 in the kernel

There will be less breaking userspace, if two methods are combined:
Only set argv[0] to "" if the binary is setuid (or has other privileges).

I am also happy with a kernel parameter or compile flag. When all distributions are using it, it can get the kernel default behavior.


to post comments


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