Re: [patch 0/6] lightweight robust futexes: -V3

From: Ingo Molnar
Date: Thu Feb 16 2006 - 16:54:47 EST



* Christopher Friesen <cfriesen@xxxxxxxxxx> wrote:

> Ingo Molnar wrote:
>
> >basically, ->futex_offset is not blindly trusted by the kernel either:
> >it's simply used to calculate a "userspace pointer" value, which it then
> >uses in a (secure) get_user() access, to do a FUTEX_WAKEUP. [Note that
> >FUTEX_WAKEUP is already done at do_exit() time via the ->clear_child_tid
> >userspace pointer.] All in one: this is totally safe.
>
> As mentioned by Paul...how do you deal with 32/64 compatibility where
> your pointers are different sizes?

i just replied to Paul's mail with details about this. (Please reply to
that mail if there are any open questions.)

Ingo
-
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/