AMD64 - Pipes now support 64 bit size_t for uio_resid.
commit607b0ed9996ff01a2081718e6a3f2b3d1b3e609c
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 04:36:25 +0000 (18 21:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 04:36:25 +0000 (18 21:36 -0700)
tree7741e4728414f430f6a4ecaefcf347aeda9530f9
parent7a4b185e7e9daa414bce3121ee15065c7da486b6
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.
sys/kern/sys_pipe.c