Nick Piggin wrote:
quoted text > 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.
-
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH, take4] FUTEX : new PRIVATE futexes , Nick Piggin , (Wed Apr 11, 2:40 am)