cvs commit: src/sys/powerpc/powerpc trap.c

Peter Grehan grehan at FreeBSD.org
Fri Jul 9 04:00:42 PDT 2004


grehan      2004-07-09 11:00:41 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/powerpc  trap.c 
  Log:
  - correctly set the return value for the copyin/out fault buffer to 1
    so setfault would return correctly when a page fault was invalid
    (e.g. a syscall with a bad parameter).
  
    This caused an endless DSI loop, seen when running sendmail which
    does a setlogin() call with a NULL pointer.
  
  - introduce KTR_SYSC tracing. expose the syscallnames[] array to
    make the tracing more readable.
  
  Revision  Changes    Path
  1.45      +10 -2     src/sys/powerpc/powerpc/trap.c


More information about the cvs-all mailing list