NetBSD-Bugs archive

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

kern/50462: there is no test coverage for UFS long symlinks



>Number:         50462
>Category:       kern
>Synopsis:       there is no test coverage for UFS long symlinks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 23 08:50:00 +0000 2015
>Originator:     David A. Holland
>Release:        current
>Organization:
>Environment:
System: NetBSD valkyrie 7.99.1 NetBSD 7.99.1 (VALKYRIE) #17: Wed Oct 14 03:21:03 EDT 2015  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

In ufs-related filesystems newer than sometime in the 80s, symlink
text that can be stuffed into the direct/indirect block pointer space
in the inode is kept there and not in a separate block.

This is great and all, but it means that symlinks longer than this
limit use a variety of different code paths and these are not
exercised in the regression tests. It turned out tonight that one of
these in LFS has had a broken assertion since March.

>How-To-Repeat:

>Fix:

Add some more cases to t_vnops.c. Note that for LFS64 and FFSv2 a
large symlink needs to be more than 120 bytes, and preferably more
than 136.



Home | Main Index | Thread Index | Old Index