git: AMD64 - Pipes now support 64 bit size_t for uio_resid.

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 18 21:48:55 PDT 2009


commit 607b0ed9996ff01a2081718e6a3f2b3d1b3e609c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 18 21:36:25 2009 -0700

    AMD64 - Pipes now support 64 bit size_t for uio_resid.
    
    * Fix bugs on 64-bit kernels related to reads and writes on pipes
      which specify IO sizes in excess of 2G.
    
    * Add a signal check and break in the loop for any pipe read or write
      greater then 10MB.

Summary of changes:
 sys/kern/sys_pipe.c |   51 ++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 40 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/607b0ed9996ff01a2081718e6a3f2b3d1b3e609c


-- 
DragonFly BSD source repository





More information about the Commits mailing list