cvs commit: src/sys/dev/kbdmux kbdmux.c

Ruslan Ermilov ru at
Wed Sep 20 04:43:41 PDT 2006

ru          2006-09-20 11:43:36 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/kbdmux       kbdmux.c 
  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

More information about the cvs-src mailing list