Date: Wed, 20 Sep 2006 11:43:36 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/kbdmux kbdmux.c Message-ID: <200609201143.k8KBhatD009095@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2006-09-20 11:43:36 UTC FreeBSD src repository Modified files: sys/dev/kbdmux kbdmux.c Log: 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.) Revision Changes Path 1.13 +8 -8 src/sys/dev/kbdmux/kbdmux.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609201143.k8KBhatD009095>