Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Kees Cook

@kees@hachyderm.io
mastodon 4.7.3
  • Open on hachyderm.io

Free Software Hacker

2171 Followers
124 Following
6 Posts
Joined May 12, 2025
Blog:
https://outflux.net/blog
GitHub:
https://github.com/kees
kernel.org:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/
Pronouns:
he/him
Open post
Kees Cook @kees@hachyderm.io
· 6mo ago

We can remove strncpy() from the Linux kernel finally! I did the last 6 instances, and dropped all the implementations:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=dev/v7.0-rc2/strncpy

Over the last 6 years working on this, there were 362 commits by 70 contributors. The folks with more than 1 commit were:

211 Justin Stitt
22 Xu Panda
21 Kees Cook
17 Thorsten Blum
12 Arnd Bergmann
4 Pranav Tyagi
4 Lee Jones
2 Steven Rostedt
2 Sam Ravnborg
2 Marcelo Moreira
2 Krzysztof Kozlowski
2 Kalle Valo
2 Jaroslav Kysela
2 Daniel Thompson
2 Andrew Lunn

Thank you to all of you! (And especially to Justin Stitt who took on the brunt of the work.)

git.kernel.org
161
7
95
1
Open post
Kees Cook @kees@hachyderm.io
· 6mo ago

RE: @lwn@fedi.lwn.net

And when you make changes to 20,000 kmalloc calls, you start getting CCed on a LOT of patches since you touched "neighboring code" recently. 😭

fedi.lwn.net

LWN.net: "[$] A safer kmalloc() for 7.0 A pull request tha…" - LWN.net's Mastodon server

39
14
9
0
Open post
Kees Cook @kees@hachyderm.io
· 9mo ago
Replying to
@torvalds@social.kernel.org The "continue to function properly" language came from Vizio, though. That's not a claim SFC ever made. That wouldn't even be covered by GPLv3. 🤷 https://sfconservancy.org/news/2025/dec/24/vizio-msa-irrelevant-ruling/
Judge in Vizio Case Rules on Issue Irrelevant to Rights Under Copyleft
Software Freedom Conservancy

Judge in Vizio Case Rules on Issue Irrelevant to Rights Under Copyleft

On 23 December 2025, Judge Leal granted a motion brought by Vizio that sought a ruling on a position that SFC has not actually taken. Vizio asked the court to rule on something that no one believes the GPLv2 requires. Specifically, Vizio said in their motion for summary adjudication: Defendant VIZIO, Inc. [moves] this Court for summary adjudication [re] whether … GPLv2 … and … LGPLv2.1 … require the licensee [under the GPL Agreements] to provide information necessary to install modified

37
0
8
0
Open post
Kees Cook @kees@hachyderm.io
· 8mo ago

The Coverity scanning for Linux has been broken for the last month. I tracked down the root cause, and it looks like scanning will be offline for the forseeable future. Coverity doesn't appear to support transparent struct members, which Linux enabled support for with `-fms-extensions` after v6.18.

I wonder what other static analyzers are going to fall over due to this. Is sparse happy with those structs? Regardless, I'm quite happy to have this feature available. It makes a number of things much nicer as far as constructing easy-to-use structs.

https://community.blackduck.com/s/question/0D5Ul00000d0A95KAE/linux-scanning-is-broken-coverity-needs-to-support-fmsextensions-option

community.blackduck.com
9
1
4
0
Open post
Kees Cook @kees@hachyderm.io
· 8mo ago
Replying to
@pinskia@hachyderm.io Yeah, it certainly would. It'd be nice to add, though it seems like Linux will need to use this option for older compilers anyway. :)
1
0
0
0
Open post
Kees Cook @kees@hachyderm.io
· 16mo ago
Replying to
@jvoisin@infosec.exchange I interviewed for Canonical in 2006, and it was MUCH less arduous then. I found my interview with Mark to be quite curious as well, and it took me a couple weeks to figure out what he was evaluating. I think he was trying to assess *loyalty*.
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 09:32:49 UTC