In article <8ad9feaf-a513-d33d-c887-3ca8407c...@sdf.org>, RVP <r...@sdf.org> wrote: >On Fri, 14 Jan 2022, Robert Elz wrote: > >> If your patch makes any difference to the way ls /proc/self/fd >> works, that is just a fluke (relates to the way ls happens to >> sequence its operations) and in no way any kind of general fix. >> > >It does not, and wasn't meant to. I noticed that d_type was being >set to VREG and attached a patch for that to my reply. > >> If procfs is not setting d_type correctly, that should be fixed. >> > >I think this does it:
That looks nice, committed and forgot to give you credit, apologies. christos