cvs commit: src/sys/i386/i386 machdep.c ptrace_machdep.c

David Xu davidxu at FreeBSD.org
Sun May 28 00:03:35 PDT 2006


davidxu     2006-05-28 06:51:57 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        machdep.c ptrace_machdep.c 
  Log:
  Clear high 16 bits of mxcsr register, according to Intel document, if
  the high 16 bits is non-zero, fxrstor instruction will generate GP fault,
  resulting kernel crash, this bug can be triggered by setcontext and
  ptrace(PT_SETXMMREGS).
  
  Revision  Changes    Path
  1.627     +3 -0      src/sys/i386/i386/machdep.c
  1.5       +2 -0      src/sys/i386/i386/ptrace_machdep.c


More information about the cvs-src mailing list