diff options
author | jhb <jhb@FreeBSD.org> | 2017-01-06 20:32:34 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2017-01-06 20:32:34 +0000 |
commit | bb394bc700f354768e69aae05e55d1182f11c98d (patch) | |
tree | f384994f4857f1977ea952e928af1add0585d7c5 /contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c | |
parent | c23ae6623412c4ad47c106103ccd3592969bc95b (diff) | |
download | FreeBSD-src-bb394bc700f354768e69aae05e55d1182f11c98d.zip FreeBSD-src-bb394bc700f354768e69aae05e55d1182f11c98d.tar.gz |
MFC 306562: Handle 64-bit system call arguments (off_t, id_t).
In particular, 64-bit system call arguments use up two register_t
arguments for 32-bit processes. They must also be aligned on a 64-bit
boundary on 32-bit powerpc processes. This fixes the decoding of
lseek(), procctl(), and wait6() arguments for 32-bit processes (both
native and via freebsd32).
Note that the ktrace system call return record only returns a single
register, so the return value of lseek is always truncated to the low
32-bits for 32-bit processes.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c')
0 files changed, 0 insertions, 0 deletions