On Wed, Jan 12, 2022 at 08:10:44AM -0500, Christos Zoulas wrote: > > > > On Jan 12, 2022, at 8:08 AM, Manuel Bouyer <bou...@antioche.eu.org> wrote > >> > >> Where do you get the reference to the original inode? Try it... > > > > I don't understand. My patch doesn't change the procfs behavior for > > non-linux > > binaries so I can't see the problem. > > Ah I did not understand that, sorry. Anyway it is fine then, although I would > like to understand first why linux binaries break... Do they do readlink(2) > unconditionally and then they don't handle the error condition?
Yes, I guess that's it, but I don't have the sources. I suspect they do this to find the absolute path of the binary. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --