Re: [PATCH, take4] FUTEX : new PRIVATE futexes

From: Nick Piggin
Date: Wed Apr 11 2007 - 05:40:54 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/