Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 06:23:26 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/powerpc/powerpc trap.c
Message-ID:  <200707310623.l6V6NQNM080148@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2007-07-31 06:23:26 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/powerpc  trap.c 
  Log:
  Fix backward compatibility of the "old" (i.e. FreeBSD6) lseek
  syscall. It was broken when a new lseek syscall was introduced.
  The problem is that we need to swap the 32-bit td_retval values
  for the __syscall indirect syscall when the actual syscall has
  a 32-bit return value. Hence, we need to exclude lseek(2). And
  this means the "old" lseek(2) as well -- which we didn't.
  
  Based on a patch from: grehan@
  Approved by: re (rwatson)
  
  Revision  Changes    Path
  1.66      +2 -2      src/sys/powerpc/powerpc/trap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707310623.l6V6NQNM080148>