This works: {{{ In [1]: from ctypes import cdll In [2]: libc = cdll.LoadLibrary("libc.so.6") In [3]: libc.mlockall(3) Out[3]: 0 }}}
However it requires the CAP_IPC_LOCK capability.
This works: y("libc. so.6")
{{{
In [1]: from ctypes import cdll
In [2]: libc = cdll.LoadLibrar
In [3]: libc.mlockall(3)
Out[3]: 0
}}}
However it requires the CAP_IPC_LOCK capability.