Re: [PATCH 0/2] fs: support $ORIGIN in ELF interpreter paths

From: Christian Brauner

Date: Thu Jul 02 2026 - 02:47:59 EST


> Anyway, I digress.
> What other options are there to go after for a relocatable binary? The
> steps wrap-buddy has to take... are a bit horrendous in practicality
> (although amazing from an engineering-sense).
>
> binfmt itself is configurable and modules can register additional exec
> types. What about something similar for ELF & INTERP ?

Not sure if my message made it yesterday. It somehow seems it didn't so
I'm repeating it: let's look at the code for what you had in mind.