DragonFly-2.3.0.897.g85dba master sys/kern vfs_syscalls.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed May 6 17:39:36 PDT 2009


commit 85dbab7f92746ac789075320a3f8012a75301f68
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed May 6 17:27:58 2009 -0700

    Fix O_NOFOLLOW and do not follow softlinks if O_EXCL.
    
    A bug in sys_open() set NLC_FOLLOW bit for the nlookup() call unconditionally.
    Removing the setting allows vn_open() to properly set NLC_FOLLOW conditionally
    when both O_EXCL and O_NOFOLLOW are not set.

Summary of changes:
 sys/kern/vfs_syscalls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/85dbab7f92746ac789075320a3f8012a75301f68


-- 
DragonFly BSD source repository





More information about the Commits mailing list