From 76f347bada10c4b061ece6676ed3885006e59a99 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 14 Jan 2015 12:31:44 +0100 Subject: [PATCH] futex.2: ERRORS: Add EPERM case for FUTEX_UNLOCK_PI Reported-by: Thomas Gleixner Signed-off-by: Michael Kerrisk --- man2/futex.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man2/futex.2 b/man2/futex.2 index eea0ca29d..fb7d3263e 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -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 )