futex.2: ERRORS: Add EPERM case for FUTEX_UNLOCK_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 12:31:44 +01:00
parent f2424faec3
commit 76f347bada
1 changed files with 4 additions and 0 deletions

View File

@ -931,6 +931,10 @@ The caller is not allowed to attach itself to the futex.
.\" futex_requeue() ==> futex_proxy_trylock_atomic() ==>
.\" futex_lock_pi_atomic() ==> attach_to_pi_owner() ==> EPERM?
.TP
.BR EPERM
.BR FUTEX_UNLOCK_PI
The caller does not own the futex.
.TP
.BR ESRCH
.RB ( FUTEX_LOCK_PI ,
.BR FUTEX_TRYLOCK_PI )