#Linux 6.12 is out. For a list of new features see:
* This short LWN story: https://lwn.net/Articles/997958/ (screenshotted)
* Two detailed stories from LWN: https://lwn.net/Articles/990750/ & https://lwn.net/Articles/991301/
* The kernelnewbies page: https://kernelnewbies.org/Linux_6.12
See also the announcement from @torvalds:
https://lore.kernel.org/lkml/CAHk-=wgtGkHshfvaAe_O2ntnFBH3EprNk1juieLmjcF2HBwBgQ@mail.gmail.com/
'"No strange surprises this last week, so we're sticking to the regular release schedule, and that obviously means that the merge window opens tomorrow."'
{sigh} Go home CodeQL, you are drunk…
int main(int argc, char *argv[])
Poorly documented function: fewer than 2% comments for a function of 129 lines.
Code in question is at: https://github.com/gregkh/usbutils/blob/master/lsusb.c#L3835 if people are curious. It’s as if the tool hasn’t seen C code before…
As it turns out that “code scanning” isn’t public, here’s the error message that github is putting up saying that meson temp build files are security problems:
build/meson-private/tmpzhj7u8eq/testfile.c:2 Test
Poor global variable name 'i'. Prefer longer, descriptive names for globals (eg. kMyGlobalConstant, not foo).
Rule ID cpp/short-global-name
Description
This rule finds global variables which have a name of length three characters or less. It is particularly important to use descriptive names for global variables. Use of a clear naming convention for global variables helps document their use, avoids pollution of the namespace and reduces the risk of shadowing with local variables.
#usbutils (which contains lsusb and the more modern lsusb.py) 018 is out:
https://lore.kernel.org/all/Zxd0oZefuehqhA7z@kroah.com/
@gregkh writes:
'"For users, the largest change will be that the '-v' option to lsusb will now show the negoitated speed of the device on the bus […], and there is better handling for new device descriptor fields and information in the '-v' output as well."'
Then here came @gregkh talk about CVE and Rust (see 39:42):
"Rust is going to help us. It'll fix up all the error handling bugs. When you do bad things in memory it just reboots the box... You will get CVE but you won't be able to make a vulnerability out of it."