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

cvs commit: src/sys/checkpt support.c src/sys/kern vfs_cache.c src/sys/sys kern_syscall.h

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Jun 2004 09:34:07 -0700 (PDT)

dillon      2004/06/05 09:34:07 PDT

DragonFly src repository

  Modified files:
    sys/checkpt          support.c 
    sys/kern             vfs_cache.c 
    sys/sys              kern_syscall.h 
  Rearrange the kern_getcwd() procedure to return the base of the string
  rather then relocating the string.
  Also fix two bugs: (1) the original bcopy was copying data beyond the end of
  the buffer ([bp, bp+buflen] exceeds the buffer), and (2), the uap->buflen
  checks must be made in __getcwd(), before the kernel tries to malloc() space.
  Revision  Changes    Path
  1.4       +7 -3      src/sys/checkpt/support.c
  1.23      +31 -21    src/sys/kern/vfs_cache.c
  1.18      +1 -1      src/sys/sys/kern_syscall.h


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