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

David Xu davidxu at FreeBSD.org
Mon Aug 9 16:58:00 PDT 2004


davidxu     2004-08-09 23:57:59 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      trap.c 
  Log:
  In syscall, always make a copy of parameters from trapframe, this
  becauses some syscalls using set_mcontext can sneakily change
  parameters and later when those syscalls references parameters,
  they will wrongly use register values in mcontext_t.
  
  Approved by: peter
  
  Revision  Changes    Path
  1.278     +9 -12     src/sys/amd64/amd64/trap.c


More information about the cvs-src mailing list