cvs commit: src/sys/sys kern_syscall.h namei.h src/sys/kern vfs_syscalls.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Mar 16 09:54:12 PST 2004
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 at 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
More information about the Commits
mailing list