Re: [PATCH 1/1] xfs: online repair of symbolic links

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

 



On Mon, Feb 26, 2024 at 06:32:51PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> If a symbolic link target looks bad, try to sift through the rubble to
> find as much of the target buffer that we can, and stage a new target
> (short or remote format as needed) in a temporary file and use the
> atomic extent swapping mechanism to commit the results.

So this basically injects new link paths, which looks really dangerous
to me, as it creates odd attack vectors.  I'd much prefer to not
"repair" the path, but mark the link bad so that any access but unlike
returns -EIO.




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux