summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-07-21 16:13:48 +0200
committerChristian Brauner <brauner@kernel.org>2026-08-03 10:08:45 +0200
commit9c50e37ca7498550d6af26345902f56381bfd101 (patch)
tree560c36423f7a326631fa45493a7778c38d431cd0 /tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
parentc41b9cd8cf49120ae6f5f4e78d3080a697902a19 (diff)
exec: release the replaced file with do_close_execat()
When the format search stages an interpreter exec_binprm() swaps it in and releases the file it replaces. Dropping the write denial the open took is done manually ahead of both release paths. The one path that keeps the file silently relies on it not being called. Let's just use do_close_execat() on the two paths that release the file and drop the denial explicitly on the one that does not. No functional change. Link: https://patch.msgid.link/20260721-work-bpf-binfmt_misc-ptinterp-v2-6-e57866e4ae0f@kernel.org Reviewed-by: Farid Zakaria <farid.m.zakaria@gmail.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions