diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-21 16:13:58 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-03 10:08:46 +0200 |
| commit | 2a4d517681e105dcfabd7ec7d2dae6285c593ee3 (patch) | |
| tree | fc3ba94ca9e121038e833757e58575eacda1eb8f /drivers/phy/axiado/git@git.tavy.me:linux.git | |
| parent | 73808bc5fd98eb055c12fa9afd954cea5417817f (diff) | |
binfmt_elf: consume a stashed PT_INTERP substitute
When a binfmt_misc loader entry stashed bprm->loader use it instead of
opening the path named in PT_INTERP. The substitution deliberately
changes as little as possible. Ownership transfers into the local
interpreter reference which the existing success and error paths already
release.
A binary without PT_INTERP has nothing to substitute for. Drop the
override at the end of the segment scan and load the binary natively.
Nothing sets bprm->loader yet.
Link: https://patch.msgid.link/20260721-work-bpf-binfmt_misc-ptinterp-v2-16-e57866e4ae0f@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
