]> granicus.if.org Git - strace/commit
mmsg.test: check memory access by sendmmsg and recvmmsg decoders
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Jan 2016 00:17:36 +0000 (00:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Jan 2016 01:05:34 +0000 (01:05 +0000)
commit35eb03fdf74b67c558b2eef11a041e99a2ae5dd9
tree9f40cd4dbfc01cca00e26685cbeaf0e06551f7a5
parent3a184fe9cc3973f4db9156badc9f40d421208719
mmsg.test: check memory access by sendmmsg and recvmmsg decoders

* tests/tests.h (tail_memdup): New prototype.
* tests/tail_alloc.c (tail_memdup): New function.
* tests/mmsg.c (main): Place all objects passed to sendmmsg and recvmmsg
at the end of memory pages followed by inaccessible pages.
tests/mmsg.c
tests/tail_alloc.c
tests/tests.h