News for hackers. Stuff that matters.
Re:Handling argc==0 in the Linux kernel by tedunangst on Friday February 04, 2022 @02:52PM (#30212036)
FreeBSD did not require non null argv[0] until 9 days ago.

https://github.com/freebsd/freebsd-src/commit/773fa8cd136a57...

Re:Handling argc==0 in the Linux kernel by kevans91 on Friday February 04, 2022 @03:11PM (#30212341)
Only a number of years too late...

It's worth noting that as far as changes in FreeBSD forbidding long-standing permitted behavior goes, this one was notably very uncontroversial.

Re:Handling argc==0 in the Linux kernel by ComputerGuru on Friday February 04, 2022 @07:01PM (#30215327)
It doesn't matter what was technically allowed; the very commit message you linked to says it was by contract disallowed for 31 years:

> The manpage has contained the following verbiage on the matter for just

> under 31 years:

>

> "At least one argument must be present in the array"

Re:Handling argc==0 in the Linux kernel by tedunangst on Friday February 04, 2022 @08:18PM (#30215998)
It certainly matters to the pkexec exploit.