]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
switch {alloc,free}_bprm() to CLASS()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Oct 2025 06:29:04 +0000 (02:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Jan 2026 20:18:08 +0000 (15:18 -0500)
commit0697b4f400696c1311cbd14421698b340dd8f7d4
treed0bb0d93e8e0832289f0e177f4fdf3c15f8b5436
parent194c760b6acd214e47f2504cede9a9dbadd8fcba
switch {alloc,free}_bprm() to CLASS()

All linux_binprm instances come from alloc_bprm() and are unconditionally
destroyed by free_bprm() in the end of the same scope.  IOW, CLASS()
machinery is a decent fit for those.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exec.c