LWN.net Logo

the Linux process for generating many rare flaws

the Linux process for generating many rare flaws

Posted Jul 21, 2008 6:19 UTC (Mon) by nix (subscriber, #2304)
In reply to: the Linux process for generating many rare flaws by jzbiciak
Parent article: Quotes of the week

Quite so. I suspect this will always be true for something like the 
kernel. In a sense it's true even for perfectly reproducible systems like 
compilers, but with the kernel, half the things can't have testsuites 
because they require specific hardware, and the other half can't have 
complete enough testsuites because a lot of the bugs are races or 
otherwise timing-dependent and can't be reliably reproduced. (The mm 
subsystem is a classic example of the latter.)

Filesystems can *probably* have good testsuites, but I'm at a loss with 
respect to most of the rest.


(Log in to post comments)

the Linux process for generating many rare flaws

Posted Jul 21, 2008 7:22 UTC (Mon) by njs (subscriber, #40338) [Link]

IIRC iptables has a build system setup where they link the same code into either the kernel or
a user-space test harness... but that's just another example of the filesystem case.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds