Actually, my mlock(2) man page says:

       EPERM  (Linux 2.6.9 and later) the caller was not privileged 
(CAP_IPC_LOCK)  and
              its RLIMIT_MEMLOCK soft resource limit was 0.

       EPERM  (Linux  2.6.8 and earlier) The calling process has insufficient 
privilege
              to call munlockall.  Under Linux the CAP_IPC_LOCK capability is 
required.

so I guess the change was made in version 2.6.9.

 - R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to