]> granicus.if.org Git - strace/commit
Implement mlock2 syscall decoding
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 15 Nov 2015 02:35:57 +0000 (02:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 17 Nov 2015 00:40:22 +0000 (00:40 +0000)
commit0d0a50aa2511f7fd0b32af41e6b18e34e37e6345
treec937db11aa2217f1126e9f84531fcdf5d4e1d2ea
parent2aec1e67dfe78eea06db48a76adbd392d8ec5a31
Implement mlock2 syscall decoding

* 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.
linux/dummy.h
mem.c
tests/.gitignore
tests/Makefile.am
tests/mlock2.c [new file with mode: 0644]
tests/mlock2.test [new file with mode: 0755]
xlat/mlock_flags.in [new file with mode: 0644]
xlat/mlockall_flags.in