On Tue, May 21, 2024 at 08:10:26AM -0700, Linus Torvalds wrote: > On Tue, 21 May 2024 at 05:40, Christian Brauner <brauner@xxxxxxxxxx> wrote: > > > > Here's the updated patch appended. Linus, feel free to commit it > > directly or if you prefer I can send it to you later this week. > > Applied. > > > In any case, I really really would like to try to move away from the > > current insanity maybe by the end of the year. So I really hope that > > lsof changes to the same format that strace already changed to so we can > > flip the switch. That should allow us to get rid of both the weird > > non-type st_mode issue and the unpleasant name faking. Does that sound > > like something we can try? > > We can try it again later and see if nobody notices because they've > updated their user space. > > That said, from previous experience, some people (and some distros) > very seldom update user space, but this is hopefully enough of a > corner case that *most* people won't even realize they've hit it, so > maybe it's one of those "fraction of a fraction is zero" cases. Cool! Fwiw, lsof has now already adapted to the new scheme as well in: https://github.com/lsof-org/lsof/commit/cd5bb9bd7fbb65bca6cc60de1d35ff0e1c1b81e0