public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] mlock.2: generalize EPERM description
@ 2011-08-31 14:56 Seonghun Lim
       [not found] ` <4E5E4BA9.8000609-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Seonghun Lim @ 2011-08-31 14:56 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-17  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 14:56 [patch] mlock.2: generalize EPERM description Seonghun Lim
     [not found] ` <4E5E4BA9.8000609-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-17  5:14   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox