Re: [patch 0/6] lightweight robust futexes: -V3
From: Christopher Friesen
Date: Thu Feb 16 2006 - 16:48:15 EST
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?
Chris
-
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/