]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- correctly set the return value for the copyin/out fault buffer to 1
authorgrehan <grehan@FreeBSD.org>
Fri, 9 Jul 2004 11:00:41 +0000 (11:00 +0000)
committergrehan <grehan@FreeBSD.org>
Fri, 9 Jul 2004 11:00:41 +0000 (11:00 +0000)
commit6c7bd732862424f5dc31c4f693756e0845eafcac
tree09de79876039b08645bed3c32152888114b080c1
parent933877b6574b82689e571bd3cb41bf4af99caf2c
- 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.
sys/powerpc/aim/trap.c
sys/powerpc/powerpc/trap.c