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.
2 lines
16 B
Plaintext
2 lines
16 B
Plaintext
MLOCK_ONFAULT 1
|