]> granicus.if.org Git - strace/commit
tests: add more checks of LOOP_* ioctls decoding
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 1 Jan 2017 19:29:56 +0000 (22:29 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 4 Jan 2017 21:53:00 +0000 (21:53 +0000)
commit2acabfe47a3c9b41c4fa1d3f5dc0f9c16f20fb9b
tree7f853d827c6cdfb244cfe103e370b2ef9157be2f
parent3127a6a2754ee3c5cef94c91b9583a39cb3fe7b7
tests: add more checks of LOOP_* ioctls decoding

* tests/ioctl_loop.c: Include <linux/ioctl.h>.
(magic, lmagic): Move static constants ...
(main): ... here.  Change types of magic constants to kernel_ulong_t.
Add more checks.
tests/ioctl_loop.c