News for hackers. Stuff that matters.
Re:Handling argc==0 in the Linux kernel by tremon on Friday February 04, 2022 @12:55PM (#30210177)
It's not clear from that quote if they're talking about code calling execve(,NULL,) or a program expecting main() to be entered with argv[0]==NULL.

(edit: found an answer here: https://lwn.net/ml/linux-kernel/5e963fab-88d4-2039-1cf4-6661...)

multicall programs will try to use argv[0] and might crash in this scenario. If we're going to fake an argv, I guess we should try to do it right.

Re:Handling argc==0 in the Linux kernel by formerly_proven on Friday February 04, 2022 @01:10PM (#30210642)
(multicall = things like busybox which look at argv[0] to determine what program they should act like)