vmsplice(): the making of a local root exploit
Posted Feb 14, 2008 19:44 UTC (Thu) by
JoeF (subscriber, #4486)
In reply to:
vmsplice(): the making of a local root exploit by jimparis
Parent article:
vmsplice(): the making of a local root exploit
You either need to add a comment, or use a define.
bytes >> 9 without a clarifier is something that should never be in production-quality code.
Magic numbers should never be in code without a clear explanation what they mean.
If you don't want a macro that can hide things, write something like bytes >> SECTOR_SHIFT.
(
Log in to post comments)