Not logged in
Log in now
Create an account
Subscribe to LWN
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 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