Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 20:17:54 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c
Message-ID:  <200910282018.n9SKImoq039003@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-10-28 20:17:54 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/linux32    linux32_machdep.c 
    sys/i386/linux       linux_machdep.c 
  Log:
  SVN rev 198554 on 2009-10-28 20:17:54Z by jhb
  
  Fix some problems with effective mmap() offsets > 32 bits.  This was
  partially fixed on amd64 earlier.  Rather than forcing linux_mmap_common()
  to use a 32-bit offset, have it accept a 64-bit file offset.  This offset
  is then passed to the real mmap() call.  Rather than inventing a structure
  to hold the normal linux_mmap args that has a 64-bit offset, just pass
  each of the arguments individually to linux_mmap_common() since that more
  closes matches the existing style of various kern_foo() functions.
  
  Submitted by:   Christian Zander @ Nvidia
  MFC after:      1 week
  
  Revision  Changes    Path
  1.54      +30 -36    src/sys/amd64/linux32/linux32_machdep.c
  1.84      +31 -34    src/sys/i386/linux/linux_machdep.c



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