Dmitry V. Levin
0d0a50aa25
* mem.c: Include "xlat/mlock_flags.h". (SYS_FUNC(mlock2)): New function. * xlat/mlock_flags.in: New file. * xlat/mlockall_flags.in: Add MCL_ONFAULT, add default values. * linux/dummy.h (mlock2): Remove. * tests/mlock2.c: New file. * tests/mlock2.test: New test. * tests/Makefile.am (check_PROGRAMS): Add mlock2. (TESTS): Add mlock2.test. * tests/.gitignore Add mlock2.
4 lines
41 B
Plaintext
4 lines
41 B
Plaintext
MCL_CURRENT 1
|
|
MCL_FUTURE 2
|
|
MCL_ONFAULT 4
|