Messages in this thread | | | Date | Wed, 11 Apr 2007 19:40:29 +1000 | From | Nick Piggin <> | Subject | Re: [PATCH, take4] FUTEX : new PRIVATE futexes |
| |
Nick Piggin wrote: > Pierre Peiffer wrote: > >> Nick Piggin a écrit : >> >>> >>> But... that isn't there in mainline. Why is it in -mm? >> >> >> >> This was introduced by lguest code.... >> I did not follow exaclty why. > > > OK, that's no problem, then it can remain exported but we just > have to document and audit that callers must pass in an aligned > address. We can also BUG_ON(address & ~PAGE_MASK); to handle > the security aspect.
Err, duh no we can't because we don't know the size, which is the whole point :P
Anyway.... just ensure callers have to fix alignment.
-- SUSE Labs, Novell Inc. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |