diff options
author | ru <ru@FreeBSD.org> | 2006-09-20 11:43:36 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-09-20 11:43:36 +0000 |
commit | 7dcd8f28e88644c595bfc083293e001284d9f0a9 (patch) | |
tree | 1ac5247b2749e77122cdf4de942129c68fd4fe4a /lib/libkvm/kvm.c | |
parent | edd4f4618e13a37fbad6b145e2058111190b723e (diff) | |
download | FreeBSD-src-7dcd8f28e88644c595bfc083293e001284d9f0a9.zip FreeBSD-src-7dcd8f28e88644c595bfc083293e001284d9f0a9.tar.gz |
Revert back to always using *(int *)arg for now. While this
is incorrect, and causes endianness bugs on 64-bit big-endian
machines (sparc64), it's the best choice for now, as many of
these IOCTLs are used inside the kernel, and bogusly pass an
argument as "int *" which results in unaligned access panics
on sparc64 when attempting to dereference them via *(intptr_t *).
(Several of us are working on a real fix, which is uneasy.)
Diffstat (limited to 'lib/libkvm/kvm.c')
0 files changed, 0 insertions, 0 deletions