Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for June 20, 2013
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Can anyone explain why the fix only applied to len and not off? Is it because the base
address does not come from userspace?
vmsplice(): the making of a local root exploit
Posted Feb 12, 2008 9:11 UTC (Tue) by and (subscriber, #2883)
If my understanding of this is correct, then off is the offset within the
first page (i.e. off is always smaller than PAGE_SIZE).
Posted Feb 12, 2008 22:48 UTC (Tue) by jd (guest, #26381)
If it's just casting, then fixing an unexploitable casting bug is tidier than leaving it,
explicitly states intention, and prevents these souped-up aggressive optimizing compilers used
on the kernel from optimizing in a problem sometime down the road. On the other hand,
unnecessary changes introduce risks of adding as many problems as they fix.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds