On Wed, Feb 28, 2024 at 10:37:40AM -0800, Darrick J. Wong wrote: > Going back to [1] from last year, I finally /did/ find a magic symlink > target that actually does trip EIO. That solution is to set the buffer > contents to a string that is so long that it exceeds NAME_MAX. > Userspace can readlink this string, but it will never resolve anywhere > in the directory tree. > > What if this unconditionally set the link target to DUMMY_TARGET instead > of salvaging partial targets? Sounds good to me.