git: usr.sbin/makefs/hammer2: Allow broken symlink when populating

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Jun 22 00:48:39 PDT 2023


commit 2de31a7da10221ac74241eb4d192dc7a3c63ccaa
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Jun 21 22:40:11 2023 -0700

    usr.sbin/makefs/hammer2: Allow broken symlink when populating
    
    Symlinks need to be tested with lstat(2).
    Using stat(2) for sanity doesn't allow creation of a broken symlink
    whose source is also a broken symlink.

Summary of changes:
 usr.sbin/makefs/hammer2.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2de31a7da10221ac74241eb4d192dc7a3c63ccaa


-- 
DragonFly BSD source repository


More information about the Commits mailing list