Pádraig Brady <[email protected]> writes: > On 17/11/2026 01:49, Collin Funk wrote: >> As far as I can tell, only 'mv -Z' uses the recursive code in the >> restorecon function. It calls restorecon_private, which opens a file >> descriptor and performs an fstat/stat call. Therefore, the fts stat is >> not necessary. I noticed this while looking to make some other changes >> here. >> + 'mv -Z' no longer performs an extra fstatat call for each directory entry >> + located under a moved directory. >> + [bug introduced with SELinux support in coreutils-8.22] > > An improvement rather than a bug. > Otherwise LGTM.
Sounds good to me. Pushed with that adjustment. Collin
