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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux