man-pages version: latest git repository why: EPERM error code is not only set by munlock(), but also by other calls. diff --git a/man2/mlock.2 b/man2/mlock.2 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -151,8 +151,7 @@ soft resource limit was 0. .TP .B EPERM (Linux 2.6.8 and earlier) -The calling process has insufficient privilege to call -.BR munlockall (). +The calling process has insufficient privilege. Under Linux the .B CAP_IPC_LOCK capability is required. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html