tech-kern archive

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

Re: zero-length symlinks



   Date: Fri, 1 Nov 2013 16:47:35 +0000
   From: David Holland <dholland-tech%netbsd.org@localhost>

   rmind@ points out that it's possible to create zero-length symlinks.
   As zero-length symlinks aren't sensible, this should probably be
   prohibited. Does anyone see any reason they shouldn't be?

Some applications store data rather than pathnames in symlinks for
various reasons -- e.g., for small strings they're more compact and
faster to read than regular files.  However, I have no idea whether
any of them would expect zero-length symlinks to work.


Home | Main Index | Thread Index | Old Index