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

cvs commit: src/sys/sys kern_syscall.h namei.h src/sys/kern vfs_syscalls.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 09:53:53 -0800 (PST)

dillon      2004/03/16 09:53:53 PST

DragonFly src repository

  Modified files:
    sys/sys              kern_syscall.h namei.h 
    sys/kern             vfs_syscalls.c 
  Log:
  Separate chroot() into kern_chroot().  Rename change_dir() to checkvp_chdir()
  and reorganize the code to avoid doing weird things to the passed vnode's
  lock and ref count in deep subroutines (which lead to buggy code).
  
  Fix a bug in chdir()/kern_chdir() (the namei data was not being freed in all
  cases), and also fix a bug in symlink() (missing zfree in error case).
  
  Submitted-by: Paul Herman <pherman@xxxxxxxxxxxxxxx>
  Additional-work-by: dillon
  
  Revision  Changes    Path
  1.15      +1 -0      src/sys/sys/kern_syscall.h
  1.10      +1 -1      src/sys/sys/namei.h
  1.30      +72 -49    src/sys/kern/vfs_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/kern_syscall.h.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/namei.h.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.29&r2=1.30&f=h



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