Re: [PATCH] Pass nr_wake2 to futex_wake_op

2007-07-17 Thread Andrew Morton
On Tue, 17 Jul 2007 13:31:29 +0200 Andreas Schwab <[EMAIL PROTECTED]> wrote: > The fourth argument of sys_futex is ignored when op == FUTEX_WAKE_OP, > but futex_wake_op expects it as its nr_wake2 parameter. > > The only user of this operation in glibc is always passing 1, so this > bug had no con

[PATCH] Pass nr_wake2 to futex_wake_op

2007-07-17 Thread Andreas Schwab
The fourth argument of sys_futex is ignored when op == FUTEX_WAKE_OP, but futex_wake_op expects it as its nr_wake2 parameter. The only user of this operation in glibc is always passing 1, so this bug had no consequences so far. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- kernel/futex.

[PATCH] Pass nr_wake2 to futex_wake_op

2007-07-07 Thread Andreas Schwab
The fourth argument of sys_futex is ignored when op == FUTEX_WAKE_OP, but futex_wake_op expects it as its nr_wake2 parameter. The only user of this operation in glibc is always passing 1, so this bug had no consequences so far. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- kernel/futex.