diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-21 16:13:53 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-03 10:08:45 +0200 |
| commit | 75e536852f9a5f1880091d58f46cdf2fce2101b4 (patch) | |
| tree | f82f28cf67adfb9d26b73723a4a118bebfd3992c /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | a4bdab2be4fdaf5f90a7fc445452167cb624cdf2 (diff) | |
binfmt_misc: add a static transparent flag 'T'
Let a registration opt into transparent dispatch. The 'T' flag lets a
matched binary keep its argument vector and is sent to the interpreter
through AT_EXECFD. The process's identity is the binary's.
'T' implies 'O' exactly like 'C' does. 'P' is rejected in combination
with it. Transparency preserves the whole argument vector so there is
nothing left for 'P' to say. 'C' remains an independent choice and 'F'
keeps working. A pre-opened interpreter is orthogonal to how the binary
is handed over.
Like the other flag characters 'T' cannot be used as the field
delimiter. The flag scan would run off the registration buffer.
Link: https://patch.msgid.link/20260721-work-bpf-binfmt_misc-ptinterp-v2-11-e57866e4ae0f@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
