upvote
Bugs in software aren't found by following four step blog posts by a guru.

It is a fuzzy process that requires patience, creativity and perseverance. If Torvalds posted a four step blog post how to audit the Linux Kernel, everyone would laugh.

What Buzzard posted is the bare minimum.

reply
…and indeed they are doing far more than just the 4 steps. The point is this is an enormous effort where a ton of people have done a ton of things. Included in those things are the standard 4 things they say everyone should do.

What Linus would do in a given situation doesn’t seem super-relevant here, and the word “audit” which keeps coming up in this thread is a strange one. This isn’t an audit- It is a verification of a mathematical proof. There have separately been several efforts to audit the lean kernel and to make cleanroom implementations of the kernel. This effort isn’t that though, it’s verifying that the proof is correct and proves what the author says it does.

It’s not necessary or helpful to audit a lean proof in the traditional sense of a software audit. “Bugs” don’t invalidate an honest proof - they cause it either to prove a different thing from what it intended or to fail to prove the thing they do intend. So all that’s needed is to check whether it proves the correct statement and the proof is honest (in the sense of not constructed to deliberately exploit a bug in lean). People are doing a lot of checks on all aspects of that and are satisfied.

reply