Re: [PATCH/RFC] Futex mmap_sem deadlock

Jamie Lokier
2005-02-23T18:50:05Z

Linus Torvalds wrote:
> > I suggest putting it into futex.c, and make it an inline function
> > which takes "u32 __user *".
>
> Agreed, except we've traditionally just made it "int __user *".

The type signatures in futex.c are a bit mixed up - most places say
"int __user *" but sys_futex() says "u32 __user *". get_futex_key
uses sizeof(u32) to check the address.

-- Jamie