]> granicus.if.org Git - strace/commit
Fix printing of invalid arguments of memory mapping related syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 22:58:45 +0000 (22:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 23:47:34 +0000 (23:47 +0000)
commit116811487930a267be540825264233f5c9930d1b
treeef78761ab79ff42e85b5184b10a7142404f69ba2
parente2c5a3c60e979e4c0ea99caaedca5348f78e5032
Fix printing of invalid arguments of memory mapping related syscalls

* mem.c (print_mmap): Print 3rd and 4th arguments of syscall
using printflags_long.
(SYS_FUNC(mprotect)): Print 3rd argument of syscall using
printflags_long.
(SYS_FUNC(mremap)): Print 4th argument of syscall using printflags_long.
(SYS_FUNC(remap_file_pages)): Print 3rd and 4th arguments of syscall
using printflags_long.
* tests/remap_file_pages.c (main): Update.
mem.c
tests/remap_file_pages.c