futex.2: ERRORS: Add ENOMEM 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:
Michael Kerrisk 2015-01-14 09:13:03 +01:00
parent e0547e70ae
commit a449c6342a
1 changed files with 7 additions and 2 deletions

View File

@ -661,12 +661,12 @@ The
argument is handled as described in
.BR FUTEX_WAIT .
The arguments
The
.IR uaddr2 ,
.IR val ,
and
.IR val3
are ignored.
arguments are ignored.
.TP
.BR FUTEX_UNLOCK_PI " (since Linux 2.6.18)"
.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
@ -816,6 +816,11 @@ is invalid.
.B EINVAL
Invalid argument.
.TP
.BR ENOMEM
.RB ( FUTEX_LOCK_PI ,
.BR FUTEX_TRYLOCK_PI )
The kernel could not allocate memory to hold state information.
.TP
.B ENFILE
.RB ( FUTEX_FD )
The system limit on the total number of open files has been reached.