[patch] mlock.2: generalize EPERM description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux