summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-01-06 20:32:34 +0000
committerjhb <jhb@FreeBSD.org>2017-01-06 20:32:34 +0000
commitbb394bc700f354768e69aae05e55d1182f11c98d (patch)
treef384994f4857f1977ea952e928af1add0585d7c5 /contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c
parentc23ae6623412c4ad47c106103ccd3592969bc95b (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud