Re:The Dirty Pipe Vulnerability
by rfoo on Monday March 07, 2022 @08:30AM
(#30587486)
Yes? This is faster and easier than you may think it to be. Building a reasonably small kernel only takes ~a minute. People usually have fully automated git-bisect-run scripts for build & test in qemu.
[ Parent
| on HN ]
Re:The Dirty Pipe Vulnerability
by bananabiscuit on Monday March 07, 2022 @08:38AM
(#30587563)
Oh, interesting, did not know it could be so fast.
For me, at least, there's an important difference missing from the debate over the term "C/C++": compiling C code is always much faster than you would expect, but compiling C++ code is always much slower than you would expect...
And yet there's an ongoing effort to optimize the kernel compile time by rearranging all of the headers. On a modern machine with plenty of cores a kernel build is pretty quick, but they're talking about slicing 20% or more off the top.
It's always slower than we'd like.
Perhaps more importantly than being fast, it is scriptable. ("git bisect run" can take a shell command to run and interpret the exit code of, so you could script everything including the kernel recompiles and walk away for a few hours.)