HomeFreeBSD

Ensure that we use a 64-bit value for the last mmap() argument.

Description

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

Details

Provenance
markjAuthored on
Parents
rS345354: MFHead @345353
Branches
Unknown
Tags
Unknown