Szabolcs Nagy b64d66d0b0 add mlock2 linux syscall wrapper
mlock2 syscall was added in linux v4.4 and glibc has api for it.
It falls back to mlock in case of flags==0, so that case works
even on older kernels.

MLOCK_ONFAULT is moved under _GNU_SOURCE following glibc.
2018-06-20 21:35:45 -04:00
..
2018-06-20 21:35:45 -04:00
2018-02-22 19:34:58 -05:00
2013-12-29 21:55:21 -05:00
2013-01-12 19:42:39 +01:00
2013-07-19 19:57:52 -04:00