futex.2: ERRORS: add EINVAL for FUTEX_REQUEUE to same futex

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-04 10:16:52 +02:00
parent bae14b6c60
commit add875c03c
1 changed files with 9 additions and 0 deletions

View File

@ -315,6 +315,15 @@ and the kernel state\(emthat is, it detected a waiter which waits in
.BR FUTEX_LOCK_PI .
.TP
.B EINVAL
.RB ( FUTEX_REQUEUE )
.\" FIXME tglx suggested adding this, but does this error really
.\" occur for FUTEX_REQUEUE?
.I uaddr
equals
.IR uaddr2
(i.e., an attempt was made to requeue to the same futex).
.TP
.B EINVAL
Invalid argument.
.TP
.B ENFILE