]> granicus.if.org Git - strace/commit
tests: extend struct flock/flock64 decoding checks
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 1 Jun 2018 01:46:06 +0000 (01:46 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 1 Jun 2018 01:46:06 +0000 (01:46 +0000)
commitdbbe61067c68968502564103f39d9d5b171d7f48
tree46e94e29dbd6465205476991ac85da8efab47230
parentd476d264def4a433e0130a3e66053badaa08bf9f
tests: extend struct flock/flock64 decoding checks

* tests/fcntl-common.c (test_flock_einval, test_flock): Create
struct_kernel_flock object using tail_alloc.
(test_flock64_einval): Create struct_kernel_flock64 object using
tail_alloc.
* tests/fcntl64.c (test_flock64_lk64): Likewise.
tests/fcntl-common.c
tests/fcntl64.c