futex.2: Fix EINVAL description for FUTEX_CMP_REQUEUE_PI

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-15 14:38:50 +01:00
parent 6fbeb8f4a0
commit 75299c8d17
1 changed files with 11 additions and 3 deletions

View File

@ -1172,15 +1172,23 @@ The kernel detected an inconsistency between the user-space state at
.I uaddr .I uaddr
and the kernel state; and the kernel state;
that is, the kernel detected a waiter which waits via that is, the kernel detected a waiter which waits via
.BR FUTEX_LOCK_PI , .BR FUTEX_WAIT
.BR FUTEX_WAIT ,
or or
.BR FUTEX_WAIT_BITSET , .BR FUTEX_WAIT_BITESET
on on
.IR uaddr . .IR uaddr .
.TP .TP
.B EINVAL .B EINVAL
.RB ( FUTEX_CMP_REQUEUE_PI ) .RB ( FUTEX_CMP_REQUEUE_PI )
The kernel detected an inconsistency between the user-space state at
.I uaddr
and the kernel state;
that is, the kernel detected a waiter which waits on
.I uaddr
via
.BR FUTEX_LOCK_PI
(instead of
.BR FUTEX_WAIT_REQUEUE_PI ).
.TP .TP
.B EINVAL .B EINVAL
Invalid argument. Invalid argument.