]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure that we use a 64-bit value for the last mmap() argument.
authormarkj <markj@FreeBSD.org>
Wed, 20 Mar 2019 23:35:15 +0000 (23:35 +0000)
committermarkj <markj@FreeBSD.org>
Wed, 20 Mar 2019 23:35:15 +0000 (23:35 +0000)
commitd7415fbaadbcbf50f61d8da29ed0e8f7f8c8dc95
tree5593eb19ddab3a95fdee2da20f333fea2679fc05
parentf61d24052aac316b172a768dd656198a41d455f1
Ensure that we use a 64-bit value for the last mmap() argument.

When using __syscall(2), the offset argument is passed on the stack on
amd64.  Previously only 32 bits were written, so the upper 32 bits were
garbage and could cause the test to fail.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c