mirror of https://github.com/mkerrisk/man-pages
futex.2: ERRORS: Add EINVAL case for FUTEX_LOCK_PI and FUTEX_TRYLOCK_PI
Reported-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
672595267c
commit
a218ef20dc
13
man2/futex.2
13
man2/futex.2
|
@ -822,6 +822,19 @@ The signal number supplied in
|
|||
is invalid.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.RB ( FUTEX_LOCK_PI ,
|
||||
.BR FUTEX_TRYLOCK_PI )
|
||||
The kernel detected an inconsistency between the user-space state at
|
||||
.I uaddr
|
||||
and the kernel state.
|
||||
This indicates either state corruption or that the kernel found a waiter on
|
||||
.I uaddr
|
||||
which is waiting via
|
||||
.BR FUTEX_WAIT
|
||||
or
|
||||
.BR FUTEX_WAIT_BITSET .
|
||||
.TP
|
||||
.B EINVAL
|
||||
Invalid argument.
|
||||
.TP
|
||||
.BR ENOMEM
|
||||
|
|
Loading…
Reference in New Issue