Heh, you've got good eyes! :)
The rest of the vmsplice() exploit story
Posted Mar 5, 2008 14:00 UTC (Wed) by jzbiciak (subscriber, #5246)
Ironically, "break;" is the only correctly indented line in that loop body. (That is, if you go with the Linux kernel standard 8 character indent.)
Posted Mar 5, 2008 14:48 UTC (Wed) by corbet (editor, #1)
As for indent depth, I routinely shorten it in code samples to make the result fit in the browser window. The original code uses full-tab indents.
Posted Mar 5, 2008 19:14 UTC (Wed) by jzbiciak (subscriber, #5246)
I did notice the consistent 4-character indents elsewhere. I was being a tad tongue-in-cheek
because of the apparent irony. (It was clear that the 'break' statement was the odd man out.)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds