DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/emulation/43bsd 43bsd_socket.c src/sys/emulation/linux linux_file.c linux_socket.c src/sys/kern kern_subr.c sys_generic.c uipc_syscalls.c src/sys/sys uio.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Apr 2006 10:42:55 -0700 (PDT)

dillon      2006/04/26 10:42:55 PDT

DragonFly src repository

  Modified files:
    sys/emulation/43bsd  43bsd_socket.c 
    sys/emulation/linux  linux_file.c linux_socket.c 
    sys/kern             kern_subr.c sys_generic.c uipc_syscalls.c 
    sys/sys              uio.h 
  Log:
  Fix the range checking for all read and write system calls.  Fix the
  iovec code to properly range-check iovec elements and to ensure that
  the total length does not overflow a signed integer.  Regardless of
  'size_t', the kernel does not allow any single I/O operation to exceed
  2^31 bytes.
  
  Revision  Changes    Path
  1.6       +2 -2      src/sys/emulation/43bsd/43bsd_socket.c
  1.25      +8 -3      src/sys/emulation/linux/linux_file.c
  1.20      +2 -2      src/sys/emulation/linux/linux_socket.c
  1.22      +14 -8     src/sys/kern/kern_subr.c
  1.25      +22 -20    src/sys/kern/sys_generic.c
  1.62      +4 -4      src/sys/kern/uipc_syscalls.c
  1.11      +1 -1      src/sys/sys/uio.h


http://www.dragonflybsd.org/cvsweb/src/sys/emulation/43bsd/43bsd_socket.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_file.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_socket.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_subr.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.61&r2=1.62&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/uio.h.diff?r1=1.10&r2=1.11&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]